rest客户端

安装REST客户端 (Installing REST Client)

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浏览器中添加它。

rest客户端_安装REST客户端

从POSTMAN删除请求 (Delete Request from the POSTMAN)



rest客户端_安装REST客户端

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

rest客户端_安装REST客户端

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请求更改了请求中学生的年龄

rest客户端_安装REST客户端

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

rest客户端

相关文章: