zoukankan      html  css  js  c++  java
  • graphql.postman_collection.json

    {
        "info": {
            "_postman_id": "b263bacc-e372-47be-9938-f1abdfb81eec",
            "name": "graphql",
            "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
        },
        "item": [
            {
                "name": "http://localhost:8081/graphql",
                "request": {
                    "method": "POST",
                    "header": [],
                    "body": {
                        "mode": "graphql",
                        "graphql": {
                            "query": "{   pets {     name     type     age   }   animals }",
                            "variables": ""
                        },
                        "options": {
                            "raw": {
                                "language": "json"
                            }
                        }
                    },
                    "url": {
                        "raw": "http://localhost:8081/graphql",
                        "protocol": "http",
                        "host": [
                            "localhost"
                        ],
                        "port": "8081",
                        "path": [
                            "graphql"
                        ]
                    }
                },
                "response": []
            },
            {
                "name": "http://localhost:8081/graphql json",
                "request": {
                    "method": "POST",
                    "header": [],
                    "body": {
                        "mode": "raw",
                        "raw": "{   "query": "query {pets{name type age}animals}",   "operationName": "",   "variables": {} }",
                        "options": {
                            "raw": {
                                "language": "json"
                            }
                        }
                    },
                    "url": {
                        "raw": "http://localhost:8081/graphql",
                        "protocol": "http",
                        "host": [
                            "localhost"
                        ],
                        "port": "8081",
                        "path": [
                            "graphql"
                        ]
                    }
                },
                "response": []
            },
            {
                "name": "http://localhost:8081/graphql json mutation",
                "request": {
                    "method": "POST",
                    "header": [],
                    "body": {
                        "mode": "raw",
                        "raw": "{   "query": "mutation {savePet(pet: {name: \"Covey's dog\", age: 3, type: DOG}) {id name age type}}",   "operationName": "",   "variables": null } ",
                        "options": {
                            "raw": {
                                "language": "json"
                            }
                        }
                    },
                    "url": {
                        "raw": "http://localhost:8081/graphql",
                        "protocol": "http",
                        "host": [
                            "localhost"
                        ],
                        "port": "8081",
                        "path": [
                            "graphql"
                        ]
                    }
                },
                "response": []
            },
            {
                "name": "http://localhost:8081/graphql json mutation Copy",
                "request": {
                    "method": "POST",
                    "header": [],
                    "body": {
                        "mode": "raw",
                        "raw": "{   "query": "mutation {savePet(pet: {name: \"Covey's dog\", age: 3, type: DOG}) {id name age type}}",   "operationName": "",   "variables": null } ",
                        "options": {
                            "raw": {
                                "language": "json"
                            }
                        }
                    },
                    "url": {
                        "raw": "http://localhost:8081/graphql",
                        "protocol": "http",
                        "host": [
                            "localhost"
                        ],
                        "port": "8081",
                        "path": [
                            "graphql"
                        ]
                    }
                },
                "response": []
            }
        ]
    }

  • 相关阅读:
    读取csv遇到的双循环
    hadoop环境配置
    mysql的查询
    mysql的基本操作
    mysql与python的交互
    设置自动获取IP和DNS
    pyecharts绘制地图
    集合 set方法
    字符串 string方法
    字典 dict方法
  • 原文地址:https://www.cnblogs.com/tonggc1668/p/15266270.html
Copyright © 2011-2022 走看看