JetBrains Rider
 
2024.1
Get JetBrains Rider
You are viewing the documentation for an earlier version of JetBrains Rider.

HTTP Client

Last modified: 28 June 2024

With the HTTP Client plugin, you can create, edit, and execute HTTP requests directly in the JetBrains Rider code editor.

https://resources.jetbrains.com/help/img/rider/2024.1/basic_request.png
Gif

There are two main use cases when you need to compose and run HTTP requests:

  • When you are developing a RESTful web service and want to make sure it works as expected, is accessible in compliance with the specification, and responds correctly.

  • When you are developing an application that addresses a RESTful web service. In this case, it is helpful to investigate the access to the service and the required input data before you start the development. During development, you may also call this web service from outside your application. This may help locate errors when your application results in unexpected output while no logical errors are detected in your code, and you suspect that the bottleneck is the interaction with the web service.

HTTP requests are stored in .http and .rest files and are marked with the HTTP file icon icon.

Support for HTTP files includes the following features:

If necessary, before you begin, configure the Proxy settings on the HTTP Proxy page of the Settings/Preferences dialog (CtrlAlt0S) .