File size: 1,042 Bytes
17d2f7c | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 | {
"info": {
"_postman_id": "8923a12b-7c45-4b2e-9d2a-8c9d9e9f9a9b",
"name": "ResNet-18 Image Classifier",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "Health Check",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{baseUrl}}/health",
"host": [
"{{baseUrl}}"
],
"path": [
"health"
]
}
},
"response": []
},
{
"name": "Predict Image",
"request": {
"method": "POST",
"header": [
{
"key": "accept",
"value": "application/json"
}
],
"body": {
"mode": "formdata",
"formdata": [
{
"key": "file",
"type": "file",
"src": ""
}
]
},
"url": {
"raw": "{{baseUrl}}/predict",
"host": [
"{{baseUrl}}"
],
"path": [
"predict"
]
}
},
"response": []
}
],
"variable": [
{
"key": "baseUrl",
"value": "http://localhost:8000",
"type": "string"
}
]
} |