Not sure if you have figured out the solution for this particular case. One thing i can suggest can you please check whether this 3rd party API accept request only in Get method.In that case use
request.Method = "GET";
instead of
request.Method = "POST";
Thanks
Marked as answer by espresso on Jan 22, 2009 08:31 PM
rkzico
Member
62 Points
12 Posts
Re: HttpWebRequest.GetResponse() throwing 500 error
Jan 22, 2009 04:47 PM|LINK
Not sure if you have figured out the solution for this particular case. One thing i can suggest can you please check whether this 3rd party API accept request only in Get method.In that case use
instead of
request.Method = "POST";