Image_Classification_Service / postman_collection.json
PhonePixelGhost's picture
Upload folder using huggingface_hub
17d2f7c verified
{
"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"
}
]
}