httpwebrequest Questions
6
Solved
I need to call a method from a webservice, so I've written this code:
private string urlPath = "http://xxx.xxx.xxx/manager/";
string request = urlPath + "index.php/org/get_org_form...
Bonnibelle asked 19/7, 2010 at 9:37
1
Solved
I am unable to connect to an HTTPS server (TLS 1.3) using WebRequest because of this error message:
The request was aborted: Could not create SSL/TLS secure channel.
The previous TLS version was ...
Rosenberg asked 19/3, 2019 at 11:39
3
I'm trying to set the user-agent in my http header in our override function GetWebRequest in C#
protected override System.Net.WebRequest GetWebRequest(Uri uri)
{
System.Net.HttpWebRequest request...
Aquacade asked 11/5, 2017 at 21:20
12
Solved
I have searched everywhere but I couldn't find my answer, is there a way to make a simple HTTP request? I want to request a PHP page / script on one of my websites but I don't want to show the webp...
Baseboard asked 17/8, 2010 at 19:0
5
Solved
Is there any good way (other than tediously querying each property) to build a diagnostic dump string for an HttpWebRequest in C#? For simple objects one can get away with using new JObject(theObje...
Aerolite asked 30/7, 2014 at 21:7
3
I need help with HttpWebRequest in C#. Below lines of codes are working fine for local IIS but when I upload to remote server, it starts to giving me "The remote server returned an error: (500) Int...
Beverle asked 18/11, 2013 at 22:24
3
I am trying to read stream data from HttpRequest.Body but I am getting empty string.
The request is send here from .net project
HttpWebRequest request = null;
Uri uri = new Uri(**Endpoint**);
...
Teodoor asked 20/11, 2018 at 7:9
4
I believe I understand the practical differences between HttpWebRequest.Timeout and HttpWebRequest.ReadWriteTimeout. However, I'm seeking further clarity on the difference between these two timeout...
Hydrofoil asked 30/8, 2011 at 23:39
4
Solved
I have recently started my job as web application backend developer. I am bit stuck in understanding lifecycle of a Http request.
What I understood is
Every Http request first contacts a DNS se...
Broomrape asked 27/1, 2011 at 9:19
7
Solved
I am in a situation where when I get an HTTP 400 code from the server, it is a completely legal way of the server telling me what was wrong with my request (using a message in the HTTP response con...
Proboscidean asked 28/3, 2009 at 6:40
3
Solved
In one of my apps, I am getting the response from a webrequest. The service is Restful service and will return a result similar to the JSON format below:
{
"id" : "1lad07",
"text" : "test",
"ur...
Melcher asked 31/3, 2011 at 0:13
6
Solved
I'm writting a RESTful api, and at I'm thinking about the process of a user creating a key. I have the following possibilities:
GET request to /new/<keyname> - although it's very easy I thi...
Ptarmigan asked 6/9, 2011 at 17:45
1
Solved
I wrote a HTTP request in Postman and I want to write the same request in my application. There is an option in postman to see the code of the request for C#. In postman it shows request using Rest...
Caras asked 30/6, 2019 at 10:10
3
Solved
Am using symfony frame work in my application to make rest web service. I want to get request header values in controller method. Is there any way to achieve it.
Vasculum asked 3/7, 2014 at 5:26
4
Solved
I have an ASP.NET application where I'm trying to output the previously-visited local aspx page to html (its a report and I want to store a static html copy of it as an archive). I store the uri of...
Winnipegosis asked 6/4, 2011 at 20:33
3
Solved
I need to POST JSON data to a TLS 1.2 Endpoint. I would like to have the SecurityProtocol specified in the App.config instead of being hardcoded in the source and do not want to set the registry of...
Mangosteen asked 3/8, 2017 at 18:31
3
I want to terminate a httpwebrequest when it takes too long time in connection.
Here is just a simaple code that I wrote:
HttpWebRequest request = (HttpWebRequest)WebRequest.Create(URL);
request...
Oogonium asked 19/10, 2011 at 4:8
0
My app is using its manifest's configuration settings (app.config; see xml below) to control .NET Network Tracing (as per https://learn.microsoft.com/en-us/dotnet/framework/network-programming/netw...
Baronet asked 24/4, 2019 at 2:41
0
Recently, I came across a strong problem when I use HttWebRequest to verify the timeout and ReadWriteTimeout function in my project.
There are two section code, the first throw
Unhandled Excep...
Sayce asked 14/3, 2019 at 4:10
3
Solved
I am getting the following exception:
The server committed a protocol violation. Section=ResponseHeader Detail=CR must be followed by LF
From this question:
HttpWebRequestError: The server com...
Podolsk asked 7/12, 2011 at 23:28
6
Solved
I'm using compact framework/C# on windows mobile.
In my application I am uploading data to the server by serializing objects and using a HttpWebRequest/POST request to send the information up. On ...
Doro asked 14/7, 2011 at 14:51
4
I've been working on developing a middle man application of sorts, which uploads text to a CMS backend using HTTP post requests for a series of dates (usually 7 at a time). I am using HttpWebReques...
Tutelary asked 17/3, 2010 at 0:51
3
Solved
I have a code where I am sending the URL request and receiving the response and storing it as a String as
public String GenerateXML(String q)// Here 'q' is the URL
{
// Generating the XML file f...
Foscalina asked 30/1, 2014 at 2:1
1
Solved
Maybe this seems like weird question, but I came across the following situation:
I try to make a post request to a service, and to add the post-data I chose make a Stream out of the request and us...
Bizarre asked 2/1, 2017 at 11:27
6
Solved
I'm trying to write a hard-coded HTTP Post request with SOAP action, using the org.apache.http api.
My problem is I didn't find a way to add a request body (in my case - SOAP action).
I'll be glad ...
Gilder asked 20/5, 2012 at 7:9
© 2022 - 2024 — McMap. All rights reserved.