I configured my rest with services and installed the Basic authentication module. Image

I used Postman and selected basic authentication gave username and password, I got "Missing required argument username"


An important note is that If I change it to "no Auth" and send my username and password as JSON object it's authenticating, can someone help me? Thanks.

1 Answer 1


Everything seems fine, as the response says, 'username' name/key is missing from the request. So construct a body request like follows or else follow the screenshot

{"username":'myusername', "password":"mypassword"}

enter image description here

  • If I got to Body>Json and send the request (as JSON) it's working but it's working even If I put it in no auth...
    – Hashik
    May 22, 2018 at 10:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.