collection_with_body_parameters.json 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  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 parameters.",
  16. "request": {
  17. "url": "http:\/\/localhost\/api\/withBodyParameters",
  18. "method": "GET",
  19. "header": [
  20. {
  21. "key": "Content-Type",
  22. "value": "application\/json"
  23. },
  24. {
  25. "key": "Accept",
  26. "value": "application\/json"
  27. }
  28. ],
  29. "body": {
  30. "mode": "formdata",
  31. "formdata": [
  32. {
  33. "key": "user_id",
  34. "value": 9,
  35. "type": "text",
  36. "enabled": true
  37. },
  38. {
  39. "key": "room_id",
  40. "value": "consequatur",
  41. "type": "text",
  42. "enabled": true
  43. },
  44. {
  45. "key": "forever",
  46. "value": false,
  47. "type": "text",
  48. "enabled": true
  49. },
  50. {
  51. "key": "another_one",
  52. "value": 11613.31890586,
  53. "type": "text",
  54. "enabled": true
  55. },
  56. {
  57. "key": "yet_another_param",
  58. "value": {},
  59. "type": "text",
  60. "enabled": true
  61. },
  62. {
  63. "key": "yet_another_param.name",
  64. "value": "consequatur",
  65. "type": "text",
  66. "enabled": true
  67. },
  68. {
  69. "key": "even_more_param",
  70. "value": [],
  71. "type": "text",
  72. "enabled": true
  73. },
  74. {
  75. "key": "even_more_param.*",
  76. "value": 11613.31890586,
  77. "type": "text",
  78. "enabled": true
  79. },
  80. {
  81. "key": "book.name",
  82. "value": "consequatur",
  83. "type": "text",
  84. "enabled": true
  85. },
  86. {
  87. "key": "book.author_id",
  88. "value": 17,
  89. "type": "text",
  90. "enabled": true
  91. },
  92. {
  93. "key": "book[pages_count]",
  94. "value": 17,
  95. "type": "text",
  96. "enabled": true
  97. },
  98. {
  99. "key": "ids.*",
  100. "value": 17,
  101. "type": "text",
  102. "enabled": true
  103. },
  104. {
  105. "key": "users.*.first_name",
  106. "value": "John",
  107. "type": "text",
  108. "enabled": true
  109. },
  110. {
  111. "key": "users.*.last_name",
  112. "value": "Doe",
  113. "type": "text",
  114. "enabled": true
  115. }
  116. ]
  117. },
  118. "description": "",
  119. "response": []
  120. }
  121. }
  122. ]
  123. }
  124. ]
  125. }