DEV Community

Discussion on: User registration and authorization on a django API with djoser and JSON web tokens.

Collapse
 
girisagar46 profile image
Sagar Giri

How can I use raw json as POST data instead of x-www-form-urlencoded ?

Collapse
 
lewiskori profile image
Lewis kori • Edited

Hey, Sagar, you can use this method on postman;

postman json

or if you want to use curl,
curl json

in both instances, the user is created as you can see below,
users