Visual Studio Code插件使用技巧【持续更新】

REST Client

https://marketplace.visualstu...

创建 test.http 文件

@url = http://127.0.0.1:3000

@json = Content-Type: application/json

###
get {{url}}?id=1
{{json}}


###
post  {{url}}/login
{{json}}

{
    "username":"user1",
    "password":"pwd1"
}

评论

暂无评论