• 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": []
            }
        ]
    }

  • 相关阅读:
    服务器被黑

    ZXW说
    抽象类
    URL参数加密解密过程
    SqlServer 跨服务器 DML
    发布
    C#操作XML小结
    定时指执程序
    SQL语句判断数据库、表、字段是否存在
  • 原文地址:https://www.cnblogs.com/tonggc1668/p/15266270.html
Copyright © 2020-2023  润新知