美文网首页
前端发送请求测试httpbin.org

前端发送请求测试httpbin.org

作者: 明月888 | 来源:发表于2020-01-05 23:37 被阅读0次

首先是一个测试的网址 http://www.httpbin.org
下面是通过httpbin.org 发送的post 请求 返回的结果! 可以看出,正确的传递了表单数据!

{
  "files": {}, 
  "origin": "120.24.36.230, 120.24.36.230", 
  "form": {
    "access_token": "56f2323b4f5d45c1b57dc28e9da3cc06", 
    "id": "5c416aa3fbf84c5a57d65191"
  }, 
  "url": "https://www.httpbin.org/post", 
  "args": {}, 
  "headers": {
    "Content-Length": "73", 
    "Accept-Encoding": "gzip,deflate", 
    "Accept": "*/*", 
    "User-Agent": "Mozilla/5.0 (compatible; pycurl)", 
    "Host": "www.httpbin.org", 
    "Content-Type": "application/x-www-form-urlencoded"
  }, 
  "json": null, 
  "data": ""
}

相关文章

网友评论

      本文标题:前端发送请求测试httpbin.org

      本文链接:https://www.haomeiwen.com/subject/ijchactx.html