added Student API Collection json file (#12161)

Co-authored-by: Christian Jaimes <christian.jaimes@oracle>
This commit is contained in:
chrisjaimes 2022-05-03 15:18:18 -04:00 committed by GitHub
parent f53e2d6fc7
commit 744f71356b
1 changed files with 101 additions and 0 deletions

View File

@ -0,0 +1,101 @@
{
"info": {
"_postman_id": "2dd2d46e-cb0a-4fcd-a1a3-461930df0c38",
"name": "Student API Collection",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "http://localhost:8080/students/",
"event": [
{
"listen": "prerequest",
"script": {
"exec": [
"",
""
],
"type": "text/javascript"
}
}
],
"protocolProfileBehavior": {
"disabledSystemHeaders": {}
},
"request": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "image/*",
"type": "text",
"disabled": true
},
{
"key": "Accept",
"value": "application/json",
"type": "text",
"disabled": true
}
],
"url": {
"raw": "http://localhost:8080/students/",
"protocol": "http",
"host": [
"localhost"
],
"port": "8080",
"path": [
"students",
""
]
}
},
"response": []
},
{
"name": "http://localhost:8080/students/2",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:8080/students/3",
"protocol": "http",
"host": [
"localhost"
],
"port": "8080",
"path": [
"students",
"3"
]
}
},
"response": []
}
],
"event": [
{
"listen": "prerequest",
"script": {
"type": "text/javascript",
"exec": [
"pm.request.headers.add({ ",
" key: \"Accept\",",
" value: \"application/json\" ",
"});",
""
]
}
},
{
"listen": "test",
"script": {
"type": "text/javascript",
"exec": [
""
]
}
}
]
}