I had a scenario in which a data on form in http://www.omsite.com to be posted on other website say http://www.hissite.com/myfolder
Now whenever the data was being posted, rather then getting posted or getting Status Code 200 I was getting 301 Status code for permanent redirect and hence data was not getting posted.
Checking the destination URL I changed it from http://www.hissite.com/myfolder to http://www.hissite.com/myfolder/, yes, I added only a slash after /myfolder and there I got the successful response.
i need some help in understanding how just adding a forward slash at the end of destination URL made my data to get posted successfully?
Note: Destination webpage was the subdomain of source webpage