Access the keycloak API from postman

Tags: , , ,

I have tried to access the keycloak API from the postman. but it is showing 400 bad request.

I was calling api in the below format.


In the headers I have set the content_type as application/x-www-form-urlencoded

I am getting the response as below.

    "error": "invalid_request",
    "error_description": "Missing form parameter: grant_type"

Can any one help me.Any help will be appreciated. thanks in advance


A bit late for this question, but you did ask about postman and not curl. So you have to put the options in x-www-form-urlencoded enter image description here

Source: stackoverflow