collection_with_body_parameters.json 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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": {
  18. "protocol": "http",
  19. "host": "localhost",
  20. "path": "api\/withBodyParameters",
  21. "query": [],
  22. "raw": "http://localhost/api/withBodyParameters"
  23. },
  24. "method": "GET",
  25. "header": [
  26. {
  27. "key": "Content-Type",
  28. "value": "application\/json"
  29. },
  30. {
  31. "key": "Accept",
  32. "value": "application\/json"
  33. }
  34. ],
  35. "body": {
  36. "mode": "raw",
  37. "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}",
  38. "options": {
  39. "raw": {
  40. "language": "json"
  41. }
  42. }
  43. },
  44. "description": "",
  45. "response": []
  46. }
  47. }
  48. ]
  49. }
  50. ]
  51. }