Advertisement
Jonas_3k

hearthStone.postman_collection.json

Aug 29th, 2021
2,696
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 2.88 KB | None | 0 0
  1. {
  2.     "info": {
  3.         "_postman_id": "efc85ade-6951-4621-9ec0-8203ed6001cb",
  4.         "name": "hearthStone",
  5.         "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  6.     },
  7.     "item": [
  8.         {
  9.             "name": "get",
  10.             "protocolProfileBehavior": {
  11.                 "disableBodyPruning": true
  12.             },
  13.             "request": {
  14.                 "method": "GET",
  15.                 "header": [],
  16.                 "body": {
  17.                     "mode": "raw",
  18.                     "raw": "",
  19.                     "options": {
  20.                         "raw": {
  21.                             "language": "json"
  22.                         }
  23.                     }
  24.                 },
  25.                 "url": {
  26.                     "raw": "http://localhost:8080/carta",
  27.                     "protocol": "http",
  28.                     "host": [
  29.                         "localhost"
  30.                     ],
  31.                     "port": "8080",
  32.                     "path": [
  33.                         "carta"
  34.                     ],
  35.                     "query": [
  36.                         {
  37.                             "key": "descricao",
  38.                             "value": "paladino",
  39.                             "disabled": true
  40.                         },
  41.                         {
  42.                             "key": "tipo",
  43.                             "value": "magia",
  44.                             "disabled": true
  45.                         },
  46.                         {
  47.                             "key": "defesa",
  48.                             "value": null,
  49.                             "disabled": true
  50.                         },
  51.                         {
  52.                             "key": "ataque",
  53.                             "value": null,
  54.                             "disabled": true
  55.                         },
  56.                         {
  57.                             "key": "classe",
  58.                             "value": null,
  59.                             "disabled": true
  60.                         }
  61.                     ]
  62.                 }
  63.             },
  64.             "response": []
  65.         },
  66.         {
  67.             "name": "post",
  68.             "request": {
  69.                 "method": "POST",
  70.                 "header": [],
  71.                 "body": {
  72.                     "mode": "raw",
  73.                     "raw": "{\n    \"id\": null,\n    \"nome\": \"Gandalf\",\n    \"descricao\": \"paladino\",\n    \"ataque\": 8,\n    \"defesa\": 7,\n    \"tipo\": \"MAGIA\",\n    \"classe\": \"MAGO\"\n}",
  74.                     "options": {
  75.                         "raw": {
  76.                             "language": "json"
  77.                         }
  78.                     }
  79.                 },
  80.                 "url": {
  81.                     "raw": "http://localhost:8080/carta",
  82.                     "protocol": "http",
  83.                     "host": [
  84.                         "localhost"
  85.                     ],
  86.                     "port": "8080",
  87.                     "path": [
  88.                         "carta"
  89.                     ]
  90.                 }
  91.             },
  92.             "response": []
  93.         },
  94.         {
  95.             "name": "delete",
  96.             "request": {
  97.                 "method": "DELETE",
  98.                 "header": [],
  99.                 "body": {
  100.                     "mode": "raw",
  101.                     "raw": "",
  102.                     "options": {
  103.                         "raw": {
  104.                             "language": "json"
  105.                         }
  106.                     }
  107.                 },
  108.                 "url": {
  109.                     "raw": "http://localhost:8080/carta/3",
  110.                     "protocol": "http",
  111.                     "host": [
  112.                         "localhost"
  113.                     ],
  114.                     "port": "8080",
  115.                     "path": [
  116.                         "carta",
  117.                         "3"
  118.                     ]
  119.                 }
  120.             },
  121.             "response": []
  122.         },
  123.         {
  124.             "name": "put",
  125.             "request": {
  126.                 "method": "PUT",
  127.                 "header": [],
  128.                 "body": {
  129.                     "mode": "raw",
  130.                     "raw": "{\n    \"id\": 1,\n    \"nome\": \"Frodo AnΓ£o\",\n    \"descricao\": \"paladino\",\n    \"ataque\": 8,\n    \"defesa\": 7,\n    \"tipo\": \"MAGIA\",\n    \"classe\": \"MAGO\"\n}",
  131.                     "options": {
  132.                         "raw": {
  133.                             "language": "json"
  134.                         }
  135.                     }
  136.                 },
  137.                 "url": {
  138.                     "raw": "http://localhost:8080/carta",
  139.                     "protocol": "http",
  140.                     "host": [
  141.                         "localhost"
  142.                     ],
  143.                     "port": "8080",
  144.                     "path": [
  145.                         "carta"
  146.                     ]
  147.                 }
  148.             },
  149.             "response": []
  150.         }
  151.     ]
  152. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement