collection_with_form_data_parameters.json 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. {
  2. "variables": [],
  3. "info": {
  4. "name": "Laravel API",
  5. "_postman_id": "",
  6. "description": "",
  7. "schema": "https:\/\/schema.getpostman.com\/json\/collection\/v2.0.0\/collection.json"
  8. },
  9. "item": [
  10. {
  11. "name": "Group A",
  12. "description": "",
  13. "item": [
  14. {
  15. "name": "Endpoint with body form data parameters.",
  16. "request": {
  17. "url": {
  18. "protocol": "http",
  19. "host": "localhost",
  20. "path": "api\/withFormDataParams",
  21. "query": []
  22. },
  23. "method": "GET",
  24. "header": [
  25. {
  26. "key": "Content-Type",
  27. "value": "multipart\/form-data"
  28. },
  29. {
  30. "key": "Accept",
  31. "value": "application\/json"
  32. }
  33. ],
  34. "body": {
  35. "mode": "formdata",
  36. "formdata": [
  37. {
  38. "key": "name",
  39. "value": "cat.jpg",
  40. "type": "text"
  41. },
  42. {
  43. "key": "image",
  44. "src": [],
  45. "type": "file"
  46. }
  47. ]
  48. },
  49. "description": "",
  50. "response": []
  51. }
  52. }
  53. ]
  54. }
  55. ]
  56. }