"error": "unsupported_grant_type" is returned when sending post request with x-www-form-urlencoded

+1 vote
keywords.user_loads_a_Request("AdminLogin", CONFIG.getProperty("URI")+"api/login"); // Adminlogin file contains the request

keywords.user_posts_request("POST");

keywords.user_addsHeader("Content-Type", "x-www-form-urlencoded");  

keywords.user_addsHeader("charset", "utf-8");

keywords.user_loads_a_Request(URLEncoder.encode("grant_type=password&username=example%40live.com&password=Password2%40&isfflogin=false"),"UTF-8");
Dec 17, 2019 in Software Testing by anonymous
• 130 points
271 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In Software Testing

0 votes
1 answer
0 votes
3 answers

What is Functional Testing in Software Testing?

Hello, I hope this info is useful to ...READ MORE

answered Aug 20 in Software Testing by anonymous
• 200 points

edited Aug 20 by Gitika 159 views
0 votes
1 answer

Is automation testing black-box testing or white-box testing?

You might have got confused because of ...READ MORE

answered Aug 7, 2019 in Software Testing by Archana
• 5,600 points
692 views
0 votes
0 answers

what is regression testing

Aug 27, 2019 in Software Testing by anonymous

closed Aug 27, 2019 by Kalgi 100 views
0 votes
1 answer

soapUI test with Jenkins

Hey Ashutosh, I myself don't have any ...READ MORE

answered Sep 16, 2019 in Software Testing by Abha
• 27,930 points
167 views
+1 vote
0 answers

Comparing data with the data in excel sheet using Selenium Webdriver

Hello, I have written a code for registration ...READ MORE

Apr 9 in Software Testing by Kunal
• 130 points
653 views
+1 vote
1 answer