What is the correct way to send a POST API via Postman?

Problem:

I’m trying to create a container repository via the API with Postman application. I am authenticated and am sending a Query Parameter, “name” with value, “foo” via a POST.

The Pulp server is barking back at me with “name: This field is required.”

I’ve supplied name via a postman parameter. Here’s the example output:

What am I doing wrong?

The selected name field is a query parameter. You need to send the data in the body (see the Body section next to Params).

Usually, we use httpie (https://httpie.io/) or pulp-cli (https://github.com/pulp/pulp-cli) when talking to Pulp.

http POST :8080/pulp/api/v3/repositories/container/container/ name=foo
pulp container repository create --name foo

Thank you for that clarification. I’m a Linux admin not a developer. For posterity and for anyone else that might need to know the answer via the GUI: