
In the Solution Explorer for Rider in one of the projects, you can right click and choose Add… then HTTP Request. This will add a new, blank, editor window for you to add the HTTP calls that you wish to make. The HTTP Request editor has a separate set of commands available to it.

Think of it like the appSettings.json in. NET but all in one file.Īn example file could look like this. This allows you to control the url, and other variables without having to edit the file. Rider supports two types of environment files, regular and private. Regular Environment FileĬhoosing a Regular file will create the file. This file can contain common variables such as host name, port, or query parameters, and is meant to be distributed together with your project. Private Environment FilesĬhoosing Private will create the file. This file might include passwords, tokens, certificates, and other sensitive information. It is added to the list of source code system ignored files by default. Jetbrains webstorm restful code suggestions code# NOTE: The values of variables that are specified in the file override the values in the regular environment file. There is a lot more to environment files and variables.

You can find more samples in the Contacts-Sample-Requests.http sample HTTP request file that I used for the Contacts sample application and API.


Jetbrains webstorm restful code suggestions how to#.
