postman201状态码
时间: 2023-10-15 20:28:19 浏览: 101
postman 离线登录版
postman201状态码是指请求成功并且服务器创建了新的资源。这个状态码通常在使用POST请求时返回,表示请求已经被成功处理,并且服务器创建了新的资源。在使用Postman进行API测试时,可以使用以下脚本来验证状态码是否为201:pm.test("Status code is 201", function () { pm.response.to.have.status(201); });如果你需要详细查看HTTP状态码,你可以访问https://tool.oschina.net/commons?type=5,这是一个常见状态码查询工具,可以帮助你了解HTTP状态码的含义。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [【Postman】HTTP状态码](https://blog.csdn.net/weixin_47220627/article/details/125060666)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [接口自动化测试:Postman实战教程](https://blog.csdn.net/m0_67695717/article/details/125811849)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文