Query parameters vs json body?

I'm not quite clear on how I set query parameters in the url, vs creating a JSON body in a POST request.

Which would this create, and how do I create the other one for this example?
[image.png]
Working with APIs
17 replies