collection.json 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276
  1. {
  2. "variable": [],
  3. "info": {
  4. "name": "GREAT API!",
  5. "_postman_id": "",
  6. "description": "",
  7. "schema": "https:\/\/schema.getpostman.com\/json\/collection\/v2.1.0\/collection.json",
  8. "version": "3.9.9"
  9. },
  10. "item": [
  11. {
  12. "name": "Group A",
  13. "description": "",
  14. "item": [
  15. {
  16. "name": "Example title.",
  17. "request": {
  18. "url": {
  19. "protocol": "http",
  20. "host": "localhost",
  21. "path": "api\/withDescription",
  22. "query": [],
  23. "raw": "http:\/\/localhost\/api\/withDescription"
  24. },
  25. "method": "GET",
  26. "header": [
  27. {
  28. "key": "Custom-Header",
  29. "value": "NotSoCustom"
  30. },
  31. {
  32. "key": "Accept",
  33. "value": "application\/json"
  34. }
  35. ],
  36. "body": null,
  37. "description": "This will be the long description.\nIt can also be multiple lines long.",
  38. "auth": {
  39. "type": "noauth"
  40. }
  41. },
  42. "response": []
  43. },
  44. {
  45. "name": "Endpoint with body form data parameters.",
  46. "request": {
  47. "url": {
  48. "protocol": "http",
  49. "host": "localhost",
  50. "path": "api\/withFormDataParams",
  51. "query": [],
  52. "raw": "http:\/\/localhost\/api\/withFormDataParams"
  53. },
  54. "method": "POST",
  55. "header": [
  56. {
  57. "key": "Custom-Header",
  58. "value": "NotSoCustom"
  59. },
  60. {
  61. "key": "Content-Type",
  62. "value": "multipart\/form-data"
  63. },
  64. {
  65. "key": "Accept",
  66. "value": "application\/json"
  67. }
  68. ],
  69. "body": {
  70. "mode": "formdata",
  71. "formdata": [
  72. {
  73. "key": "name",
  74. "value": "cat.jpg",
  75. "type": "text"
  76. },
  77. {
  78. "key": "image",
  79. "src": [],
  80. "type": "file"
  81. }
  82. ]
  83. },
  84. "description": "",
  85. "auth": {
  86. "type": "noauth"
  87. }
  88. },
  89. "response": []
  90. },
  91. {
  92. "name": "Endpoint with body parameters.",
  93. "request": {
  94. "url": {
  95. "protocol": "http",
  96. "host": "localhost",
  97. "path": "api\/withBodyParameters",
  98. "query": [],
  99. "raw": "http:\/\/localhost\/api\/withBodyParameters"
  100. },
  101. "method": "POST",
  102. "header": [
  103. {
  104. "key": "Custom-Header",
  105. "value": "NotSoCustom"
  106. },
  107. {
  108. "key": "Content-Type",
  109. "value": "application\/json"
  110. },
  111. {
  112. "key": "Accept",
  113. "value": "application\/json"
  114. }
  115. ],
  116. "body": {
  117. "mode": "raw",
  118. "raw": "{\n \"user_id\": 9,\n \"room_id\": \"consequatur\",\n \"forever\": false,\n \"another_one\": 11613.31890586,\n \"yet_another_param\": {\n \"name\": \"consequatur\"\n },\n \"even_more_param\": [\n 11613.31890586\n ],\n \"book\": {\n \"name\": \"consequatur\",\n \"author_id\": 17,\n \"pages_count\": 17\n },\n \"ids\": [\n 17\n ],\n \"users\": [\n {\n \"first_name\": \"John\",\n \"last_name\": \"Doe\"\n }\n ]\n}"
  119. },
  120. "description": "",
  121. "auth": {
  122. "type": "noauth"
  123. }
  124. },
  125. "response": []
  126. },
  127. {
  128. "name": "api\/withQueryParameters",
  129. "request": {
  130. "url": {
  131. "protocol": "http",
  132. "host": "localhost",
  133. "path": "api\/withQueryParameters",
  134. "query": [
  135. {
  136. "key": "location_id",
  137. "value": "consequatur",
  138. "description": "The id of the location.",
  139. "disabled": false
  140. },
  141. {
  142. "key": "user_id",
  143. "value": "me",
  144. "description": "The id of the user.",
  145. "disabled": false
  146. },
  147. {
  148. "key": "page",
  149. "value": "4",
  150. "description": "The page number.",
  151. "disabled": false
  152. },
  153. {
  154. "key": "filters",
  155. "value": "consequatur",
  156. "description": "The filters.",
  157. "disabled": false
  158. },
  159. {
  160. "key": "url_encoded",
  161. "value": "%2B+%5B%5D%26%3D",
  162. "description": "Used for testing that URL parameters will be URL-encoded where needed.",
  163. "disabled": false
  164. }
  165. ],
  166. "raw": "http:\/\/localhost\/api\/withQueryParameters?location_id=consequatur&user_id=me&page=4&filters=consequatur&url_encoded=%2B+%5B%5D%26%3D"
  167. },
  168. "method": "GET",
  169. "header": [
  170. {
  171. "key": "Custom-Header",
  172. "value": "NotSoCustom"
  173. },
  174. {
  175. "key": "Accept",
  176. "value": "application\/json"
  177. }
  178. ],
  179. "body": null,
  180. "description": "",
  181. "auth": {
  182. "type": "noauth"
  183. }
  184. },
  185. "response": []
  186. },
  187. {
  188. "name": "api\/withAuthTag",
  189. "request": {
  190. "url": {
  191. "protocol": "http",
  192. "host": "localhost",
  193. "path": "api\/withAuthTag",
  194. "query": [],
  195. "raw": "http:\/\/localhost\/api\/withAuthTag"
  196. },
  197. "method": "GET",
  198. "header": [
  199. {
  200. "key": "Custom-Header",
  201. "value": "NotSoCustom"
  202. },
  203. {
  204. "key": "Accept",
  205. "value": "application\/json"
  206. }
  207. ],
  208. "body": null,
  209. "description": "",
  210. "auth": null
  211. },
  212. "response": []
  213. }
  214. ]
  215. },
  216. {
  217. "name": "Other\ud83d\ude0e",
  218. "description": "",
  219. "item": [
  220. {
  221. "name": "api\/echoesUrlParameters\/{param}-{param2}\/{param3?}",
  222. "request": {
  223. "url": {
  224. "protocol": "http",
  225. "host": "localhost",
  226. "path": "api\/echoesUrlParameters\/:param-:param2\/:param3",
  227. "query": [
  228. {
  229. "key": "something",
  230. "value": "consequatur",
  231. "description": "",
  232. "disabled": false
  233. }
  234. ],
  235. "raw": "http:\/\/localhost\/api\/echoesUrlParameters\/:param-:param2\/:param3?something=consequatur",
  236. "variable": [
  237. {
  238. "id": "param",
  239. "key": "param",
  240. "value": "4",
  241. "description": ""
  242. },
  243. {
  244. "id": "param2",
  245. "key": "param2",
  246. "value": "consequatur",
  247. "description": ""
  248. }
  249. ]
  250. },
  251. "method": "GET",
  252. "header": [
  253. {
  254. "key": "Custom-Header",
  255. "value": "NotSoCustom"
  256. },
  257. {
  258. "key": "Accept",
  259. "value": "application\/json"
  260. }
  261. ],
  262. "body": null,
  263. "description": "",
  264. "auth": {
  265. "type": "noauth"
  266. }
  267. },
  268. "response": []
  269. }
  270. ]
  271. }
  272. ],
  273. "auth": {
  274. "type": "noauth"
  275. }
  276. }