HOW webclient/httpwebrequest to send data to differnt urls?

sandrine10

Power Member
Joined
Apr 14, 2010
Messages
779
Reaction score
88
Hi Guys,

tried all the day to get the right code with no succes,i want submit data to different urls(with same webform),using webclient or httpwebrequest!!

The last error i got:
{ "error" : { "type" : "InvalidParameters", "message" : "Error sending contact. " }, "response" : "Error sending contact. Please try again later." }

Anyone can help?

Thanks
 
Check your headers, from what you have posted, no one is able to help
 
Are you trying to send POST or GET requests ?
 
maybe posting the codes, so someone might help you with the debugging.
it's hard to tell even if you showed the errors. :)

Cheers.
 
The last error i got:
{ "error" : { "type" : "InvalidParameters", "message" : "Error sending contact. " }, "response" : "Error sending contact. Please try again later." }
Thanks

Your answer is right there in the response you received. 'Invalid Parameters' typically means one of the following:

- GET: Your headers/cookies are invalid
- POST: Your headers/cookies or Post Body is invalid
 
Thanks guys, problem solved you're right rawr00(Post Body was invalid).
 
Back
Top