Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "info": {
- "_postman_id": "efc85ade-6951-4621-9ec0-8203ed6001cb",
- "name": "hearthStone",
- "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
- },
- "item": [
- {
- "name": "get",
- "protocolProfileBehavior": {
- "disableBodyPruning": true
- },
- "request": {
- "method": "GET",
- "header": [],
- "body": {
- "mode": "raw",
- "raw": "",
- "options": {
- "raw": {
- "language": "json"
- }
- }
- },
- "url": {
- "raw": "http://localhost:8080/carta",
- "protocol": "http",
- "host": [
- "localhost"
- ],
- "port": "8080",
- "path": [
- "carta"
- ],
- "query": [
- {
- "key": "descricao",
- "value": "paladino",
- "disabled": true
- },
- {
- "key": "tipo",
- "value": "magia",
- "disabled": true
- },
- {
- "key": "defesa",
- "value": null,
- "disabled": true
- },
- {
- "key": "ataque",
- "value": null,
- "disabled": true
- },
- {
- "key": "classe",
- "value": null,
- "disabled": true
- }
- ]
- }
- },
- "response": []
- },
- {
- "name": "post",
- "request": {
- "method": "POST",
- "header": [],
- "body": {
- "mode": "raw",
- "raw": "{\n \"id\": null,\n \"nome\": \"Gandalf\",\n \"descricao\": \"paladino\",\n \"ataque\": 8,\n \"defesa\": 7,\n \"tipo\": \"MAGIA\",\n \"classe\": \"MAGO\"\n}",
- "options": {
- "raw": {
- "language": "json"
- }
- }
- },
- "url": {
- "raw": "http://localhost:8080/carta",
- "protocol": "http",
- "host": [
- "localhost"
- ],
- "port": "8080",
- "path": [
- "carta"
- ]
- }
- },
- "response": []
- },
- {
- "name": "delete",
- "request": {
- "method": "DELETE",
- "header": [],
- "body": {
- "mode": "raw",
- "raw": "",
- "options": {
- "raw": {
- "language": "json"
- }
- }
- },
- "url": {
- "raw": "http://localhost:8080/carta/3",
- "protocol": "http",
- "host": [
- "localhost"
- ],
- "port": "8080",
- "path": [
- "carta",
- "3"
- ]
- }
- },
- "response": []
- },
- {
- "name": "put",
- "request": {
- "method": "PUT",
- "header": [],
- "body": {
- "mode": "raw",
- "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}",
- "options": {
- "raw": {
- "language": "json"
- }
- }
- },
- "url": {
- "raw": "http://localhost:8080/carta",
- "protocol": "http",
- "host": [
- "localhost"
- ],
- "port": "8080",
- "path": [
- "carta"
- ]
- }
- },
- "response": []
- }
- ]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement