Commit 0c1f4490 authored by Perwaiz Ali's avatar Perwaiz Ali

postman

parent 64754907
Pipeline #2182 passed with stage
in 1 minute and 47 seconds
{
"info": {
"_postman_id": "9a253085-32e2-4f99-be2b-8ecee83b9f75",
"name": "Cars API",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "CRUD",
"item": [
{
"name": "Get all cars",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{baseUrl}}/cars",
"host": [
"{{baseUrl}}"
],
"path": [
"cars"
]
}
},
"response": []
},
{
"name": "Add car",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"manufacturer\": \"Dacia\",\n \"model\": \"Logan\",\n \"build\": 2000\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/cars",
"host": [
"{{baseUrl}}"
],
"path": [
"cars"
]
}
},
"response": []
},
{
"name": "Get single car",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{baseUrl}}/cars/4",
"host": [
"{{baseUrl}}"
],
"path": [
"cars",
"4"
]
}
},
"response": []
},
{
"name": "Delete car",
"request": {
"method": "DELETE",
"header": [],
"url": {
"raw": "{{baseUrl}}/cars/1",
"host": [
"{{baseUrl}}"
],
"path": [
"cars",
"1"
]
}
},
"response": []
}
],
"protocolProfileBehavior": {}
},
{
"name": "Statistics",
"item": [
{
"name": "Average fleet age",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{baseUrl}}/statistics/age",
"host": [
"{{baseUrl}}"
],
"path": [
"statistics",
"age"
]
}
},
"response": []
}
],
"protocolProfileBehavior": {}
},
{
"name": "Health",
"item": [
{
"name": "Health",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{baseUrl}}/actuator/health",
"host": [
"{{baseUrl}}"
],
"path": [
"actuator",
"health"
]
}
},
"response": []
},
{
"name": "Info",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{baseUrl}}/actuator/info",
"host": [
"{{baseUrl}}"
],
"path": [
"actuator",
"info"
]
}
},
"response": []
}
],
"protocolProfileBehavior": {}
}
],
"protocolProfileBehavior": {}
}
\ No newline at end of file
{
"id": "6778ac6a-0aa8-464c-87ae-4f72578a9313",
"name": "Localhost",
"values": [
{
"key": "baseUrl",
"value": "http://localhost:5000",
"enabled": true
}
],
"_postman_variable_scope": "environment",
"_postman_exported_at": "2020-02-12T15:59:45.951Z",
"_postman_exported_using": "Postman/7.16.0"
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment