Before you export the collection, remove the content type and security headers-these were required to make API requests, but they are handled differently in the custom connector. You now export the collection as a JSON file, which you import using the custom connector wizard. If your API had additional features, you would continue to build your Postman collection withĪny additional requests and responses. If you save multiple responses per request, only the first one is used.Īt the top of the app, provide a name for your example response, and choose Save Example. That way, the response appears as an example when you load the request later.Ībove the response window, choose Save Response.Ĭustom connectors support only one response per request. Now you've saved your request, you can save the response. Choose the check mark, which creates a collection folder, The custom connector uses this value when you call the API. Scores close to 1 indicate positive sentiment, while scores close to 0 indicate negative sentiment."Ĭhoose + Create Collection and provide a collection name. "The API returns a numeric score between 0 and 1. The custom connector uses these values for the API operation summary and description. Under Save Request, provide a request name and a request description.
Postman download collection full#
The response field contains the full response from the API, including the result or an error, if any occurred.įor more information about HTTP requests, see
Postman download collection movie#
"text": "I enjoyed the new movie after a long day." To check that the request works by getting a response back, choose Send. Your-API-subscription-key, which you can find in your Cognitive Services accountĮnter content that you want to send in the request body. For common HTTP headers, you can select from the dropdown list. "No Auth" (you specify an API key in the next step)Įnter key-value pairs for the request header. In Postman, on the Builder tab, select the HTTP method, enter the request URL for the API endpoint, and select an authorization protocol, if any.
![postman download collection postman download collection](http://yesofcorsa.com/wp-content/uploads/2018/10/Postman-Wallpaper-Free.jpg)
For more information about collections, see Creating collections in the Postman documentation. Collections can make custom connector development faster and easier if you don't already have an OpenAPI definition for your API. Postman is an app for making HTTP requests, and Postman collections help you organize and group related API requests. Make sure you read the custom connector overview to understand the process.
![postman download collection postman download collection](https://images-na.ssl-images-amazon.com/images/I/81CzR0LjDwL._SY679_.jpg)
This topic is part of a tutorial series on creating and using custom connectors in Azure Logic Apps, Power Automate, and Power Apps.