I want to get an authorization token using basic authorization. I send a post request using my user name and password but to get the token a body data which is raw text grant_type=client_credentials&scope=Dashboard
must contain in the request. but I cannot send the grant_type=client_credentials&scope=Dashboard
body data in the post request using python.
@task(1)
def login(self):
self.client.post("/OAuth/Token/", {'Username':'abc', 'Password':'12345'})