IDEA自带http请求工具

2020-08-13  本文已影响0人  尚水杨

编辑http请求文件(文件名后缀为.http)

GET请求

GET http://localhost:8080/bcdb/sign
Accept: */*
Cache-Control: no-cache

###

POST请求

POST http://localhost:8080/bcdb/sign
Accept: */*
Cache-Control: no-cache
Content-Type: application/json

{
  "id":1,
  "acNo":"123456"
}

###
http.png

执行http请求

http2.png

查看http结果

http3.png
上一篇 下一篇

猜你喜欢

热点阅读