how to pass class parameter in Webrequest in C#.
Hi jack1@,
You need to send the class as object as a parameter in HttpWebRequest.
Before sending the object we need to serialize it as a stream and then we able to send it.
Refer below links for details.
https://stackoverflow.com/questions/15066156/how-to-pass-an-object-as-a-parameter-in-httpwebrequest-post
https://stackoverflow.com/questions/2860636/how-to-use-webrequest-to-post-some-data-and-read-response
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.