rest客户端_安装REST客户端

rest客户端

A browser can only make a GET request to the serve and receive response in HTML form. So how will you test your newly coded web services, as you will have to run POST, PUT and DELETE HTTP requests.

浏览器只能向服务发送GET请求,并以HTML格式接收响应。 那么,您将如何测试新编码的Web服务,因为您将必须运行POSTPUTDELETE HTTP请求。

There are many options available for the REST client. However, the POSTMAN is simplest to use.

REST客户端有许多可用选项。 但是, POSTMAN最容易使用。

POSTMAN is available as Google extension which you can easily add in your Google Chrome browser.

POSTMAN可作为Google扩展程序使用,您可以轻松在Google Chrome浏览器中添加它。

Installing REST Client
从POSTMAN删除请求 (Delete Request from the POSTMAN)
Installing REST Client
POSTMAN的POST请求 (POST Request from the POSTMAN)

We can send the message body in the POST request and one thing to note here is that we have not supplied the rollno in the body.

我们可以在POST请求中发送消息正文,这里要注意的一件事是我们没有在正文中提供rollno

Installing REST Client

The roll no is rather supplied through the URI.

卷号是通过URI提供的。

来自POSTMAN的PUT请求 (PUT Request from the POSTMAN)

We have changed the age of the student in the request, using the PUT request.

我们已使用PUT请求更改了请求中学生的年龄

Installing REST Client

翻译自: https://www.studytonight.com/rest-web-service/installing-rest-client

rest客户端

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值