We tried to make Umbraco Form which will send data to URL via GET. But it crashes in the Umbraco code.
There was a problem sending the Record with unique id '356ea14a-7917-4c2a-8f2b-559ba326ab1d' from the Form 'Submit to RequestBin' with id '760b27d5-85bf-4c7d-9add-fd61f4ea2e46' to the URL Endpoint 'http://requestb.in/19yzwf31' with the method 'GET'
System.Net.WebException: An exception occurred during a WebClient request. ---> System.Net.ProtocolViolationException: Cannot send a content-body with this verb-type.
at System.Net.HttpWebRequest.CheckProtocol(Boolean onRequestStream)
at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
at System.Net.HttpWebRequest.GetRequestStream()
at System.Net.WebClient.UploadBits(WebRequest request, Stream readStream, Byte[] buffer, Int32 chunkSize, Byte[] header, Byte[] footer, CompletionDelegate uploadCompletionDelegate, CompletionDelegate downloadCompletionDelegate, AsyncOperation asyncOp)
at System.Net.WebClient.UploadValues(Uri address, String method, NameValueCollection data)
--- End of inner exception stack trace ---
at System.Net.WebClient.UploadValues(Uri address, String method, NameValueCollection data)
at System.Net.WebClient.UploadValues(String address, String method, NameValueCollection data)
at Umbraco.Forms.Core.Providers.WorkflowTypes.PostToUrl.Execute(Record record, RecordEventArgs e)
Send to URL as GET
Hi,
We tried to make Umbraco Form which will send data to URL via GET. But it crashes in the Umbraco code.
Everything works fine if we post data via POST.
Is it issue for http://issues.umbraco.org?
Thanks,
Alex
Added issue - http://issues.umbraco.org/issue/CON-1178
is working on a reply...