With the collection configured, you can begin adding requests. Each request requires a base URL. Depending on the endpoint, it may also require query parameters, a request body, or both.
Step 1
Select Your Active Environment
- In the top-right corner of Postman, click the Environment dropdown.
- Select QA or Production based on your credential configuration.
Step 2
Add a New Request to the Collection
- In the left sidebar, click the three-dot menu next to the Molex API V2 collection, then select Add Request.
- Enter a description name for the request, for example: Get Products by Part Number.
- Click Save to add the request to the collection.
Step 3
Enter the Request URL
- An API request URL is formed by combining the base URL with the endpoint path.Using {{baseUrl}} ensures Postman pulls the correct base URL from the selected environment.
- At the top of the request editor, type the full URL into the Request URL bar.
- Using the dropdown to the left of the URL bar, set the HTTP method to GET.