Search code examples
djangoapirestpostmankeyword-argument

How to put parameters as kwargs in Postman


I will use kwargs in django in python but I do not how to put parameters as kwargs?

enter image description here


Solution

  • Under the tab 'Params' you can set GET parameters, is that what you're looking for? enter image description here

    Update:

    if you have a url like this defined : path('some/path/<int:mynumber>', ...)/

    Then to send that in Postman you simple do: http://localhost:8000/some/path/23/.