I am trying to call a authentication URL using apache HttpPost, passing all the request parameters like userid, pwd hardcoded for proof of concept purpose. I found it is not working with a response code of 302. However if I submit the same request from chrome PostMan or Advanced RestClient it is found to be working with 200 response code. I am able to get the correct response of the Post call.
Want to understand If I am doing anything wrong or my understanding about RestClient (POSTMAN/Advanced RestClient) is wrong.
Please suggest
Thanks,