Update postman collection with speaking endpoint requests.

This commit is contained in:
Cristiano Ferreira
2023-06-23 00:09:12 +01:00
parent 4e1ad6dc67
commit f0b85fa500

View File

@@ -90,6 +90,91 @@
} }
}, },
"response": [] "response": []
},
{
"name": "Grade Answer Speaking Task",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{jwt_token}}",
"type": "string"
}
]
},
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\r\n \"question\": \"How do you usually spend your weekends? Why?\",\r\n \"answer\": \"speaking_recordings/weekends.m4a\"\r\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "http://127.0.0.1:5000/speaking_task",
"protocol": "http",
"host": [
"127",
"0",
"0",
"1"
],
"port": "5000",
"path": [
"speaking_task"
]
}
},
"response": []
},
{
"name": "Gen Question Speaking Task",
"protocolProfileBehavior": {
"disableBodyPruning": true
},
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{jwt_token}}",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"body": {
"mode": "raw",
"raw": "",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "http://127.0.0.1:5000/writing_task2",
"protocol": "http",
"host": [
"127",
"0",
"0",
"1"
],
"port": "5000",
"path": [
"writing_task2"
]
}
},
"response": []
} }
] ]
} }