![]() ![]() Select Tests to define a test script for your collection and the requests and folders in it, which will run after a response is received.Select Pre-request Script to define a pre-request script for your collection, which will run before requests are sent to the server.Select Authorization to configure authorization details for your collection.To customize and configure a collection with HTTP requests, do the following: To add an HTTP request to a collection, select the more actions icon to the right of a collection, then select Add Request.To create a collection, select the + icon.To create a collection and add an HTTP request to it, do the following: You can create new collections to group HTTP requests, and you can manage collections with HTTP requests. ![]() Select a request from your history, and edit the request if you'd like.Select a workspace from the workspace dropdown menu in the sidebar.You can send requests previously sent in a workspace using the VS Code extension and the Postman app. To learn more about creating and sending gRPC requests, see Postman's documentation. To learn more about creating and sending WebSocket requests, see Postman's documentation. Select the Method selection dropdown to select the method you want to invoke.To disconnect your WebSocket request's connection, select Disconnect.A WebSocket URL begins with ws:// or wss://. When you create a request, select the request dropdown menu first, and select WebSocket or gRPC instead of HTTP.You can create and send raw WebSocket and gRPC requests. You can also use the Postman: Create a new HTTP Request command from the Command Palette to send a request. To learn more about creating and sending HTTP requests, see Postman's documentation. Requests sent in the VS Code extension appear in your workspace's request history in both the VS Code extension and the Postman app. Specify the details you need for your request. If you previously selected HTTP from the request dropdown menu, you can create another HTTP request by selecting New HTTP Request in the sidebar. ![]() Select the request dropdown menu in the sidebar, then select HTTP to use Postman's REST client. You can also create a new workspace from the VS Code extension. Select a workspace from the workspace dropdown menu in the sidebar. You can use the VS Code extension to create and send HTTP, raw WebSocket, and gRPC requests. To learn more about signing up for Postman, see Postman's documentation.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |