diff --git a/Juadah.postman_collection.json b/Juadah.postman_collection.json index 200875d..fcc2707 100644 --- a/Juadah.postman_collection.json +++ b/Juadah.postman_collection.json @@ -120,13 +120,32 @@ "method": "POST", "header": [], "body": { - "mode": "raw", - "raw": "{\n \"name\": \"{{$randomProductName}}\",\n \"description\": \"{{$randomLoremParagraph}}\",\n \"price\": 10000\n}", - "options": { - "raw": { - "language": "json" + "mode": "formdata", + "formdata": [ + { + "key": "name", + "value": "{{$randomProductName}}", + "type": "text" + }, + { + "key": "description", + "value": "{{$randomLoremLines}}", + "type": "text" + }, + { + "key": "price", + "value": "10000", + "type": "text" + }, + { + "key": "images", + "type": "file", + "src": [ + "postman-cloud:///1ef7334f-dd93-4960-a155-8de29fcef4ee", + "postman-cloud:///1ef7334f-d60f-4c20-b99b-52e926854037" + ] } - } + ] }, "url": { "raw": "{{base_url}}/products",