I import curl in postman, it is successfully imported but when I press send button,error comes {"ErrorCode" : "invalid_client", "Error" :"Client identifier is required"}
curl statement is:
curl -X POST -H "Content-Type: application/x-www-form-urlencoded" "https://rizwangulwall-test.apigee.net/oauth/client_credential/accesstoken?grant_type=client_credentials" -d {"client_id":"jBvVJEUEuoi5gfQUwNfGYIJnSqokGljf","client_secret":"iJcOW6yLwzKwBzFb"}
Try :
curl -i -H 'Content-Type: application/x-www-form-urlencoded' -X POST 'https://rizwangulwall-test.apigee.net/oauth/client_credential/accesstoken?grant_type=client_credentials' -d 'client_id=jBvVJEUEuoi5gfQUwNfGYIJnSqokGljf&client_secret=iJcOW6yLwzKwBzFb'
Please observe that the content-type header that you have passed is request is "application/x-www-form-urlencoded" but you are passing the payload in the incorrect format (application/json), which is not being entertained by your Oauth API.
I hope it helps you.
Thanks