chore: Added postman script and input file

parent ff36a44f
{
"info": {
"_postman_id": "b42414db-7bec-46fa-840f-6b3940a5391e",
"name": "Product Info API",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "CreateProductData",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "formdata",
"formdata": [
{
"key": "files",
"type": "file",
"src": "/D:/data/product.csv"
}
],
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "http://localhost:8080/product/upload-data",
"protocol": "http",
"host": [
"localhost"
],
"port": "8080",
"path": [
"product",
"upload-data"
]
}
},
"response": []
},
{
"name": "getProcessedProductData",
"protocolProfileBehavior": {
"disableBodyPruning": true
},
"request": {
"method": "GET",
"header": [],
"body": {
"mode": "formdata",
"formdata": [
{
"key": "files",
"type": "file",
"src": "/D:/data/products.csv"
}
],
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "http://localhost:8080/product/get/?batchId=145930354",
"protocol": "http",
"host": [
"localhost"
],
"port": "8080",
"path": [
"product",
"get",
""
],
"query": [
{
"key": "batchId",
"value": "145930354"
}
]
}
},
"response": []
}
]
}
\ No newline at end of file
id,name,description,price
01,Apple IPad, Apple Inc;Ipad category,40000.00
02,Apple Mac Book Pro,Apple Inc;Laptop Category,100000.00
03,Apple Smart watch,Apple Inc;Watch Category,20000.00
04,Samsung Galaxy M20,Samsung Inc;Mobiles Category,20000.00
05,Redme Pro Y54,Redme Inc;Mobiles Category,15000.00
06,Oppo S54,Oppo Corporation;Mobiles Category,20000.00
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