error unsupported grant type is returned when sending post request with x-www-form-urlencoded

+2 votes
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
• 140 points
928 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

+1 vote
1 answer
+1 vote
3 answers

What is Functional Testing in Software Testing?

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

answered Aug 20, 2020 in Software Testing by anonymous
• 210 points

edited Aug 20, 2020 by Gitika 1,866 views
+1 vote
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,640 points

edited Jul 19, 2023 by Khan Sarfaraz 6,263 views
+1 vote
0 answers

what is regression testing

Aug 27, 2019 in Software Testing by anonymous

closed Aug 27, 2019 by Kalgi 463 views
+1 vote
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
• 28,140 points
932 views
+2 votes
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, 2020 in Software Testing by Kunal
• 140 points
5,082 views
+2 votes
1 answer

Even after providing proper xpath for element on mobile applcation,it is not able to click on the button??

You could probably try using WebDriver driver; ...READ MORE

answered May 8, 2020 in Software Testing by Kim
1,272 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP