85 lines
1.7 KiB
JSON
85 lines
1.7 KiB
JSON
{
|
|
"variables": [],
|
|
"info": {
|
|
"name": "Sample Postman Collection",
|
|
"_postman_id": "35567af6-6b92-26c2-561a-21fe8aeeb1ea",
|
|
"description": "A sample collection to demonstrate collections as a set of related requests",
|
|
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
|
|
},
|
|
"item": [
|
|
{
|
|
"name": "GET request",
|
|
"request": {
|
|
"url": {
|
|
"raw": "https://alemi.dev/dump?source=sample-collection",
|
|
"protocol": "https",
|
|
"host": [
|
|
"alemi",
|
|
"dev"
|
|
],
|
|
"path": [
|
|
"dump"
|
|
],
|
|
"query": [
|
|
{
|
|
"key": "source",
|
|
"value": "sample-collection",
|
|
"equals": true,
|
|
"description": ""
|
|
}
|
|
],
|
|
"variable": []
|
|
},
|
|
"method": "GET",
|
|
"header": [],
|
|
"body": {},
|
|
"description": ""
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "POST requests",
|
|
"item": [
|
|
{
|
|
"name": "Text body",
|
|
"request": {
|
|
"url": "https://alemi.dev/dump",
|
|
"method": "POST",
|
|
"header": [
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "text/plain",
|
|
"type": "default"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "Duis posuere augue vel cursus pharetra. In luctus a ex nec pretium..."
|
|
},
|
|
"description": ""
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "Json body",
|
|
"request": {
|
|
"url": "https://alemi.dev/dump",
|
|
"method": "POST",
|
|
"header": [
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\"text\":\"Lorem ipsum\", \"length\":100}"
|
|
},
|
|
"description": ""
|
|
},
|
|
"response": []
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|