VSCode插件:REST Client(发送http请求并查看返回值)

rest_client.png
  1. 为什么不用Postman,Postwomen?因为懒。。。
  2. 下边是向C#后台发送请求的例子:

获取列表 getlist

注意所有参数的值都不需要添加引号

GET http://localhost:8080/api/xxxx/getlist
    ?query=[[{"Key":"ID","Value":"1","Oper":"eq"}]]
    &fields=List
    &limit=12
    &offset=0
    &order=desc
    &sort=modifyTime
Authorization: xxxxx

你可能感兴趣的:(VSCode插件:REST Client(发送http请求并查看返回值))