Saving, Grouping, and Sharing HTTP Requests
A request group, as its name implies, is a container for requests. It allows you to organize and put together related requests. As of v1.4, a request cannot be saved unless it is assigned to a request group.
At the left hand side of the HTTP Client is a panel for request groups. Here, you can view existing request groups and perform all sorts of actions on them and the requests they contain such as, but not limited to:
- adding new groups
- deleting specific requests and/or groups
- rearranging the content of request groups
- renaming groups
- duplicating groups
- exporting groups
To create a new request group:
- Click the green, '+' labeled icon beside the search bar.
- Populate the appearing form. You can use Markdown in the Description field.
- Click Save when done.
You can create new groups while saving a request
When saving a request, a form will appear asking further details about the request. Among the required fields in this form is the group where the request should belong. A panel, similar to the Request Group panel, is shown in the dialog and as with the original interface, you may create new groups there.
Once saved, your request group will appear in the tree on the left. You can do a right click on existing request groups to see the list of possible actions. You may also drag and drop saved requests in the tree to change the request group they belong to.
Saving a Request
An unsaved request will have a tab label prefixed with an '*'. To save a request, open its tab and press the button. This should trigger a form where you will have to input meta information about the request. All fields but Description are required.
Exporting and Importing Request Groups
Coder Studio allows you to export your request groups so you can share your configurations with colleagues. Exported
request groups come in the form of
.requests files, which can contain multiple groups at once.
Export as ZIP
You can also export your request groups as a ZIP archive but the truth is, this is just a
compressed to make a ZIP.
To export a request group, right click on it and select Export from the appearing context menu. Fill up the form. You can export multiple groups at once.
Aside from this, you can also copy the request group's JSON-formatted content to the clipboard by clicking the Copy to Clipboard button.
Meanwhile, to import, click the 'import' button beside the 'add' button; both are on the right side of the search bar.
In the appearing wizard, specify the
.zip file containing the request groups you want to import.
Importing your requests with text is much easier when you already have them in your clipboard.
You can also import your requests file by dragging and dropping it to the Request Group tree on the left side of the HTTP Client view.