Skip to main content
Filter by
Sorted by
Tagged with
1 vote
1 answer
91 views

I have a WPF app that host a Minimal Web API. To start the Minimal Web API, the following code is used: public async Task StartWebApi(IEnumerable<string> urls, CancellationToken token) { var ...
SomeBody's user avatar
  • 8,910
0 votes
1 answer
98 views

I am trying to make a Call by the org.springframework.web.client.RestClient. The address/resource does definetly exist GET http://localhost:8080/someResource. It is retrievable by simple call in the ...
Dirk Schumacher's user avatar
-2 votes
1 answer
395 views

Two years ago, in an ASP.NET Core 8 MVC web app, I used HttpClient to make HTTP requests to an API, like this: HttpClientHandler httpClientHandler = new HttpClientHandler() { Credentials = new ...
dpant's user avatar
  • 2,234
0 votes
0 answers
30 views

I have the following code to retrieve the HTML code from a given website: private static string MakeRequest(string url) { ServicePointManager.Expect100Continue = true; ServicePointManager....
Chris Chapman's user avatar
0 votes
1 answer
268 views

I am developing a simple website using Svelte, with a frontend server in Svelte and a backend server in NestJS. Currently, I'm working on my local machine. The issue: I am sending a request from my ...
Jacob's user avatar
  • 659
0 votes
0 answers
71 views

I have two URL's that both return same object structure when pasted in a browser. • One URL will work with C# HttpWebRequest and WebClient protocols. One URL will not. • Both return 200 OK • Both work ...
Mike O'Shea's user avatar
0 votes
1 answer
64 views

I want to parse http request response into myDATA class. But gives me error My codes under below. Im using also NEWtonsoft.Json public class myDATA { [JsonProperty("data1")] ...
Noucoder's user avatar
0 votes
0 answers
69 views

I have to make multiple requests to get some data from a REST webAPI (it's a lot of data and the service doesn't give it to me all in one single request). To do that, I'm using do while and it's all ...
Pspl's user avatar
  • 1,474
0 votes
0 answers
39 views

var path = "/test"; HttpWebRequest httpWebRequestContent = (HttpWebRequest)WebRequest.Create(Domain + path); httpWebRequestContent.ContentType = "application/...
mertckr's user avatar
0 votes
0 answers
4k views

We have windows server 2022 in which we have enabled TLS 1.3 and .Net Framework 4.8 is installed but our web application is build on .Net Framework 4.5, Thus we are not getting any response from TLS 1....
Maan Maurya's user avatar
-1 votes
1 answer
62 views

I would like to know how I can change the function below to the async method my code: Public Function GetPostWebService(urlget As String, stringdata As String) As String Dim result As String = "&...
Luiz's user avatar
  • 67
0 votes
1 answer
205 views

I have been running a HttpWebRequest on a public website to return JSon for at least a couple of years. Last week it suddenly stopped working and would not give a response via this code (it is called ...
benmess's user avatar
  • 23
0 votes
1 answer
59 views

I will preface this by saying I am a little new to some of this and worry I may be over thinking this problem or re-inventing the wheel in some way. I am making a game in Unity and want to include ...
AronAtVW's user avatar
  • 125
0 votes
1 answer
2k views

I need some help to find the problem, I'm really lost here. I'm already a developer, but I'm working with C# about three months now. Let me start with the environment: Local: Windows 10 Pro 22H2 (...
Rod Limao's user avatar
0 votes
1 answer
5k views

I am receiving an email that contains a link to a website that immediately starts a download of a file. I am able to successfully get the email and the URL, and when I paste the URL into the browser ...
Andrew Draper's user avatar
0 votes
0 answers
96 views

I'm spidering some data from Weibo, but when I get data from https://weibo.com/ajax/profile/getImageWall?uid=6596153448&sinceid=0&has_album=true, it returns a HTML string like <html&...
Vincent's user avatar
  • 3,334
0 votes
0 answers
119 views

I am trying to make a web request to microsoft.com (either http, https) in windows 11 succeeds but in windows server 2019 returns 403. Below, is the code: var uri = new Uri("https://www.microsoft....
dkokkinos's user avatar
  • 421
1 vote
0 answers
385 views

We have an application in .Net Framework 4.7 which hosts multiple API endpoints. The application is deployed in multiple servers (some of them are old) and TLS 1.2+ is not enforced from them. This is ...
Saket Kumar's user avatar
  • 4,881
0 votes
0 answers
410 views

I have a little problem when using HttpClient. I plan to make several web requests, mainly GET and POST. A few years ago I was able to do it without worries, and there I wanted to do a little project ...
adev's user avatar
  • 1
0 votes
0 answers
1k views

.NET version is 4.6.2 and The version of VaultSharp package being used is VaultSharp.1.4.0.1 Code: ServicePointManager.Expect100Continue = true; ServicePointManager.SecurityProtocol = ...
hacksdump's user avatar
0 votes
1 answer
737 views

I’ve been searching for days but couldn’t find a solution. I have an API written in C#. I have to call 3rd party’s rest API from an URL with JSON input but I have to use 3rd party’s p12 certificate in ...
hakohako's user avatar
0 votes
0 answers
36 views

I've been scraping my head for a while, i just can't figure out on how to do this with NLogger(Net4.7.5) The intention of this HttpPost request is that its supposed to send a .stl file together with a ...
Wilkret's user avatar
0 votes
1 answer
224 views

The below code invoke the webservice dynamically and process the request. How to add a soapheader to this dynamically called service? HttpWebRequest myWebRequest = (HttpWebRequest)WebRequest....
Manoj's user avatar
  • 41
0 votes
1 answer
141 views

I'm trying to use Replicate to send a text prompt and get a point cloud in return (to hopefully convert into a model) and bring into Unity. I got the request calling in Unity, but there seems to be ...
Mashimaro7's user avatar
0 votes
0 answers
292 views

I have a problem, my program reads an ODT file and downloads the links inside it, these links correspond to PDF files available on an intranet. The problem is that as a result of the program, I don't ...
Gekidow's user avatar

1
2 3 4 5
112