NEIAPI / nei

NEI 接口管理平台 源代码
https://nei.netease.com
MIT License
317 stars 77 forks source link

postman批量导入接口时无header信息 #18

Open taosher opened 4 years ago

taosher commented 4 years ago

Bug 描述 postman 批量导入接口时无header信息

重现步骤

{
    "info": {
        "_postman_id": "5fe34b83-6000-4468-9e25-be7c1fd8f00c",
        "name": "Test",
        "schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json"
    },
    "item": [
        {
            "name": "01",
            "request": {
                "method": "POST",
                "header": [
                    {
                        "key": "x-api-key",
                        "value": "123456",
                        "description": "asdsad",
                        "type": "text"
                    },
                    {
                        "key": "Max-Forwards",
                        "value": "5",
                        "description": "asdadssa",
                        "type": "text"
                    },
                    {
                        "key": "X-Forward-For",
                        "value": "3",
                        "description": "asdasdsad",
                        "type": "text"
                    }
                ],
                "url": "/path/to/something"
            },
            "response": []
        }
    ],
    "protocolProfileBehavior": {}
}

Postman方式导入以上JSON

期望结果

有Header信息

软件环境

Postman导出格式版本:v2.0