Files
NEW-Hexagonal-Architecture/Hexagonal Architecture.postman_collection.json
2022-06-11 21:28:41 +02:00

84 lines
1.5 KiB
JSON

{
"info": {
"_postman_id": "5cddaba1-07d1-4b8e-8574-da160697c2f6",
"name": "Hexagonal Architecture",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "Create product",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/json",
"type": "text"
},
{
"key": "Accept",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\r\n\t\"name\": \"MacBook Pro\",\r\n\t\"description\": \"14-inch MacBook Pro model\"\r\n}"
},
"url": {
"raw": "http://localhost:8080/v1/products",
"protocol": "http",
"host": [
"localhost"
],
"port": "8080",
"path": [
"v1",
"products"
]
}
},
"response": []
},
{
"name": "Find product",
"request": {
"method": "GET",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/json",
"type": "text"
},
{
"key": "Accept",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "http://localhost:8080/v1/products/:id",
"protocol": "http",
"host": [
"localhost"
],
"port": "8080",
"path": [
"v1",
"products",
":id"
],
"variable": [
{
"key": "id",
"value": "1"
}
]
}
},
"response": []
}
]
}