django - Testing REST framework JWT Auth error -


so trying test out django restframework authentication token, ran error when trying retrieve token.

invoke-webrequest : parameter cannot found matches parameter name 'x'.

+ categoryinfo : invalidargument: (:) [invoke-webrequest], parameterbindingexception + fullyqualifiederrorid : namedparameternotfound,microsoft.powershell.commands.invokewebrequestcommand

can explain me means, , know solution

this typed cmd: curl -x post -d "username=(username)&password=(password)" (the url token)

thanks

it seems trying use curl command in powershell. if case, have install first. see this post on how install curl in windows , use in powershell.


Comments

Popular posts from this blog

Sort a complex associative array in PHP -

vb.net - How to ignore if a cell is empty nothing -

recursion - Can every recursive algorithm be improved with dynamic programming? -