Postman使用
官网 | |
在使用7.x.x的postman调试代码时有可能会报Parse Error: Header overflow |
解决方案: 1. 在cmd执行 SETX NODE_OPTIONS "--max-http-header-size=16384",修改postman配置,大部分可以解决,如果还是不行,请参考第2第3步 2. 使用低版本的postman 经测试 V 5.xx 版本可以正常访问 (4.6.0版本测试,不用配置就可以访问) 3.使用curl命令 curl -ik -X POST -H 'Content-Type=application/json;charset=utf8' -d '{"auth": {"identity": {"password": {"user": {"password": "","domain": {"name": ""},"name": ""}},"methods": ["password"]},"scope": {"project": {"name": "cn-east-3"}}}}' https://iam.cn-east-3.myhuaweicloud.com/v3/auth/tokens github链接:https://github.com/postmanlabs/postman-app-support/issues/8656 |