Inbound status Error
- This topic has 0 replies, 1 voice, and was last updated 8 years ago by .
Viewing 1 post (of 1 total)
Viewing 1 post (of 1 total)
- The forum ‘FaxFinder’ is closed to new topics and replies.
I get this error, when the server is receiving a fax, and I try to run this code at the same time it is receiving a fax. (Inbound status)
“The remote server returned an error: (500) Internal Server Error.”
Here’s my code:
WebRequest request = WebRequest.Create(“myIP/ffws/v1/inbound_status”);
// Add authentication to request
request.Credentials = new NetworkCredential(“admin”, “password”);
// Set the Method property of the request to POST.
request.Method = “GET”;
// Set the ContentType property of the WebRequest.
request.ContentType = “application/xml”;
var response = request.GetResponse();