Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

Rest outbound calls using LDAP form authentication is not working from ServiceNow

MohanNow
Tera Contributor

Rest outbound calls using LDAP form authentication is not working from ServiceNow.

 

This is the documentation that I got from Maximo for form request which should look like this in ServiceNow

POST /j_security_check
Content-type: application/x-www-form-urlencoded
j_username=<userid>&j_password=<password>

Note, this being a form encoded POST, the userid and password values needs to be url
encoded values. The response for this request will have the jsessionid cookie along with Ltpa
token cookies (for Websphere). These cookies need to be re-used for the subsequent api calls.

 

So, I created a POST in PostMan it works fine. However, when I tried to do this in ServiceNow it timing out after 60 secs and I tried to call from fix script and its still not working with Content-type: application/x-www-form-urlencoded!

 

Does ServiceNow support Content-type: application/x-www-form-urlencoded?

 

0 REPLIES 0