IDEA REST Client console
After opening Tools -> HTTP Client -> Test RESTFUL Web Service from the top toolbar, the interface of the IDEA REST Client console is as follows:
You can see that the functional area displayed in this console is no longer different from that of postman, including the request method , The filling of request parameters and request headers have been included. In particular, if the request method is Authorization: Basic authentication, you can click the button shown in the figure below, and a window for filling in the user name and password will pop up. Come out, it will be automatically added to the Authorization header after filling in
History request record
IntelliJ IDEA automatically saves the most recently executed 50 requests to the http-requests-log.http file, which is stored in the .idea / httpRequests / directory of the project. Using request history, you can quickly navigate to a specific response and make the request again.
Just click on the small green arrow to run again
to sum up:
IDEA REST Client implements the functions that can be achieved in Postman, and even feels better than Postman. Its historical request record is really great.