changed tabs to spaces

This commit is contained in:
patkorek 2020-03-31 07:36:44 +02:00
parent b7ea20cf99
commit 405831d3da

View File

@ -1,169 +1,169 @@
{ {
"info": { "info": {
"_postman_id": "910d9690-f629-4491-bbbd-adb30982a386", "_postman_id": "910d9690-f629-4491-bbbd-adb30982a386",
"name": "GraphQL collection", "name": "GraphQL collection",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
}, },
"item": [ "item": [
{ {
"name": "mutations", "name": "mutations",
"item": [ "item": [
{ {
"name": "writePost", "name": "writePost",
"request": { "request": {
"method": "POST", "method": "POST",
"header": [], "header": [],
"body": { "body": {
"mode": "graphql", "mode": "graphql",
"graphql": { "graphql": {
"query": "mutation writePost ($title: String!, $text: String!, $category: String) {\n writePost (title: $title, text: $text, category: $category) {\n id\n title\n text\n category\n }\n}", "query": "mutation writePost ($title: String!, $text: String!, $category: String) {\n writePost (title: $title, text: $text, category: $category) {\n id\n title\n text\n category\n }\n}",
"variables": "{\n \"title\": \"\",\n \"text\": \"\",\n \"category\": \"\"\n}" "variables": "{\n \"title\": \"\",\n \"text\": \"\",\n \"category\": \"\"\n}"
}, },
"options": { "options": {
"graphql": {} "graphql": {}
} }
}, },
"url": { "url": {
"raw": "http://localhost:9090/springbootapp/graphql", "raw": "http://localhost:9090/springbootapp/graphql",
"protocol": "http", "protocol": "http",
"host": [ "host": [
"localhost" "localhost"
], ],
"port": "9090", "port": "9090",
"path": [ "path": [
"springbootapp", "springbootapp",
"graphql" "graphql"
] ]
} }
}, },
"response": [] "response": []
} }
], ],
"protocolProfileBehavior": {} "protocolProfileBehavior": {}
}, },
{ {
"name": "queries", "name": "queries",
"item": [ "item": [
{ {
"name": "get recent posts", "name": "get recent posts",
"request": { "request": {
"method": "POST", "method": "POST",
"header": [], "header": [],
"body": { "body": {
"mode": "graphql", "mode": "graphql",
"graphql": { "graphql": {
"query": "{\r\n recentPosts(count: 10, offset: 0) {\r\n id\r\n title\r\n category\r\n text\r\n author {\r\n id\r\n name\r\n thumbnail\r\n }\r\n }\r\n}", "query": "{\r\n recentPosts(count: 10, offset: 0) {\r\n id\r\n title\r\n category\r\n text\r\n author {\r\n id\r\n name\r\n thumbnail\r\n }\r\n }\r\n}",
"variables": "" "variables": ""
} }
}, },
"url": { "url": {
"raw": "http://localhost:9090/springbootapp/graphql", "raw": "http://localhost:9090/springbootapp/graphql",
"protocol": "http", "protocol": "http",
"host": [ "host": [
"localhost" "localhost"
], ],
"port": "9090", "port": "9090",
"path": [ "path": [
"springbootapp", "springbootapp",
"graphql" "graphql"
] ]
} }
}, },
"response": [] "response": []
}, },
{ {
"name": "recentPosts - variables", "name": "recentPosts - variables",
"request": { "request": {
"method": "POST", "method": "POST",
"header": [], "header": [],
"body": { "body": {
"mode": "graphql", "mode": "graphql",
"graphql": { "graphql": {
"query": "query recentPosts ($count: Int, $offset: Int) {\n recentPosts (count: $count, offset: $offset) {\n id\n title\n text\n category\n }\n}", "query": "query recentPosts ($count: Int, $offset: Int) {\n recentPosts (count: $count, offset: $offset) {\n id\n title\n text\n category\n }\n}",
"variables": "{\n \"count\": 1,\n \"offset\": 0\n}" "variables": "{\n \"count\": 1,\n \"offset\": 0\n}"
}, },
"options": { "options": {
"graphql": {} "graphql": {}
} }
}, },
"url": { "url": {
"raw": "http://localhost:9090/springbootapp/graphql", "raw": "http://localhost:9090/springbootapp/graphql",
"protocol": "http", "protocol": "http",
"host": [ "host": [
"localhost" "localhost"
], ],
"port": "9090", "port": "9090",
"path": [ "path": [
"springbootapp", "springbootapp",
"graphql" "graphql"
] ]
} }
}, },
"response": [] "response": []
}, },
{ {
"name": "get recent posts - raw", "name": "get recent posts - raw",
"request": { "request": {
"method": "POST", "method": "POST",
"header": [ "header": [
{ {
"key": "Content-Type", "key": "Content-Type",
"value": "application/graphql", "value": "application/graphql",
"type": "text" "type": "text"
} }
], ],
"body": { "body": {
"mode": "raw", "mode": "raw",
"raw": "query {\r\n recentPosts(count: 10, offset: 0) {\r\n id\r\n title\r\n category\r\n author {\r\n id\r\n name\r\n thumbnail\r\n }\r\n }\r\n}" "raw": "query {\r\n recentPosts(count: 10, offset: 0) {\r\n id\r\n title\r\n category\r\n author {\r\n id\r\n name\r\n thumbnail\r\n }\r\n }\r\n}"
}, },
"url": { "url": {
"raw": "http://localhost:9090/springbootapp/graphql", "raw": "http://localhost:9090/springbootapp/graphql",
"protocol": "http", "protocol": "http",
"host": [ "host": [
"localhost" "localhost"
], ],
"port": "9090", "port": "9090",
"path": [ "path": [
"springbootapp", "springbootapp",
"graphql" "graphql"
] ]
} }
}, },
"response": [] "response": []
} }
], ],
"protocolProfileBehavior": {} "protocolProfileBehavior": {}
} }
], ],
"event": [ "event": [
{ {
"listen": "prerequest", "listen": "prerequest",
"script": { "script": {
"id": "b54f267b-c450-4f2d-8105-2f23bab4c922", "id": "b54f267b-c450-4f2d-8105-2f23bab4c922",
"type": "text/javascript", "type": "text/javascript",
"exec": [ "exec": [
"" ""
] ]
} }
}, },
{ {
"listen": "test", "listen": "test",
"script": { "script": {
"id": "00b575be-03d4-4b29-b137-733ead139638", "id": "00b575be-03d4-4b29-b137-733ead139638",
"type": "text/javascript", "type": "text/javascript",
"exec": [ "exec": [
"" ""
] ]
} }
} }
], ],
"variable": [ "variable": [
{ {
"id": "20a274e5-6d51-40d6-81cb-af9eb115b21b", "id": "20a274e5-6d51-40d6-81cb-af9eb115b21b",
"key": "url", "key": "url",
"value": "", "value": "",
"type": "string" "type": "string"
} }
], ],
"protocolProfileBehavior": {} "protocolProfileBehavior": {}
} }