From the course: Introducing Postman

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Manage query string parameters

Manage query string parameters - Postman Tutorial

From the course: Introducing Postman

Start my 1-month free trial

Manage query string parameters

- [Instructor] Many APIs use query string parameters to influence their responses. Perhaps still the most common example is when searching with Google or Bing. Google for instance, appends our basic search terms to URL as the q parameter, along with some other parameters it uses to track how you're using the search. Let's look at how Postman manages query string parameters by applying them to the sample API. We'll begin by creating a new request. I'll create my new request by pressing Command + T, or Ctrl + T on Windows. This simply opens a new tab where we can compose the request. Just as before, we'll begin by entering the URL. Enter the same URL as before, http://localhost:3000/api. For this exercise, we're going to request a list of boards which the API exposes through the boards endpoint, so let's append /boards to the end of the URL. The GET method is already selected at the HTTP method, so no change is necessary here. Now send the request and observe the results. The data…

Contents