Skip to main content
Filter by
Sorted by
Tagged with
-1 votes
0 answers
37 views

I'm building a chain of 4 sequential HTTP calls where each service (A→B→C→E) appends "1" to a custom request header (like Trace-Id) before forwarding to the next service: text A sends to B: ...
vimalram k c's user avatar
-3 votes
0 answers
47 views

I have deployed a React frontend and Node.js backend on IIS (Windows Server). Setup Frontend: React Backend: Node.js (Express) Server: IIS Frontend is accessible publicly and loads correctly ...
Vegada Deep's user avatar
-2 votes
0 answers
34 views

I'm trying to access the Met Office's DataHub API via the following: https://data.hub.api.metoffice.gov.uk/sitespecific/v0/point/hourly?latitude=52&longitude=-1 I have supplied the API Key, but I ...
Pete Atkin's user avatar
Advice
0 votes
4 replies
22 views

This current question relates to an earlier question that was asked here in stackoverflow around 5 years ago: aiohttp how to expose two port 80 and 443 for http and https? That question received a ...
HippoMan's user avatar
  • 2,350
Advice
1 vote
0 replies
13 views

I just had the need to parse an HTTP Expires header and I was somewhat surprised that it wasn't an ISO format and especially by the fact that it names GMT as the time zone. Nowadays the term "GMT&...
AndreKR's user avatar
  • 34k
0 votes
0 answers
96 views

I'm currently working on a web crawler in Go, and it found this URL: https://git.btlr.sh. When checking whether this domain has a robots.txt file, the crawler throws an error. I've replicated the ...
Nicolas Gatien's user avatar
0 votes
1 answer
31 views

I’m using Boomi API Management with an underlying Gravitee 3.3.13 gateway. I attached an HTTP Callout Policy to an API proxy. When attached to Request, the external API is called successfully. When ...
John's user avatar
  • 718
0 votes
0 answers
31 views

Why does the overall average response time for long connections (keep-alive) exceed that for short connections (close) in performance tests? Why is this, and how can it be optimized? wrk performance ...
taotao's user avatar
  • 1
1 vote
1 answer
46 views

I am hosting 6 websites. One is for my personal use, and access is intended to be https. So a self-signed cert is just the ticket. I created the cert, and that virtual host works on https. However, ...
fyngyrz's user avatar
  • 2,736
3 votes
2 answers
69 views

I have always ignored the existence of PUT method and used POST for requests with body. Which actually isn't a semantically invalid way. But I came to this question in this specific recurring case: ...
M. Ali Efe's user avatar
0 votes
0 answers
42 views

We've integrated with our client to enable seamless authentication across our sites without having to set up OAuth or any other federated stuff. This works for all browsers except Safari, where the ...
Nitrox Tank's user avatar
1 vote
0 answers
50 views

From the point of view of normative references — RFC 9110: HTTP Semantics and RFC 9111: HTTP Caching — what is the rationale of having the must-revalidate cache directive have the effect of allowing ...
Dan's user avatar
  • 10.1k
3 votes
1 answer
69 views

This is my Python3 code: try: with urllib.request.urlopen(myURL, timeout=1.0) as page: response = page.read().strip().decode("UTF-8",errors='replace') except TimeoutError as e: ...
ullix's user avatar
  • 537
1 vote
1 answer
46 views

I have a server that I make rest calls towards that returns part of its information through headers instead of putting it all in a body, sadly I do not own the code that runs on the server so I can't ...
David S's user avatar
  • 319
-1 votes
2 answers
162 views

A simple proxy in Perl runs as a CGI on the webserver of my ISP. It's purpose is to forward https GET and POST to a http webserver running on my PC. With that https works without the need of any TLS ...
JBart's user avatar
  • 59
2 votes
1 answer
142 views

I'm trying to parse HTTP requests for fun and I'm currently stuck because the method I'm using blocks until input is received. byte[] buffer = new byte[1024]; while (!request.isDone()) { int n = ...
ygmelo's user avatar
  • 61
Advice
0 votes
2 replies
79 views

I'm building an HTTP server and parsing request headers. My current code fails when the Host header includes a port number because I'm splitting on :. Current Code: String[] header = line.split(":...
Abdelouahab 's user avatar
0 votes
3 answers
163 views

With my Angular front-end and Quarkus back-end running locally without infrastructure like Nginx, Kubernetes, etc. I am uploading large files which consistently times out after 5 minutes in Chrome and ...
ACEG's user avatar
  • 2,051
0 votes
0 answers
68 views

After the app stays in the background for 6–8 hours or overnight, all Supabase requests fail with: AuthRetryableFetchException(message: HandshakeException: Connection terminated during handshake, ...
vishal visvakarma's user avatar
0 votes
0 answers
99 views

I have to upload a file to an embedded device running an API. First, I tried to write methods to do this in a test project. This works great: private static async Task<HttpResponseMessage?> ...
Oliver Bleen's user avatar
Advice
1 vote
1 replies
75 views

We can fully emulate SMTP with current technology. Clearly, I can send a JSON containing the title, the body, and any other email information. The forwarding and replying mechanism can just be regular ...
Mingruifu Lin's user avatar
Best practices
1 vote
3 replies
125 views

I know that the current options are: creating a thread, a fork or a non-blocking socket? What are the main advantages and disadvantages of all options? What would be the recommendation for a small ...
Puscas Raul's user avatar
Best practices
0 votes
1 replies
43 views

Given some object: class Foo { metadata_field1: ..., metadata_field2: ..., file: Blob } Let's also consider definitions where Foo has multiple Blob attributes, or an array of Blobs, or even ...
Ben Schreiber's user avatar
Best practices
0 votes
2 replies
45 views

My client has requested that I provide a response from my API that looks like the following: { "entity_type": "company", "registered_date": "2020-01-01",...
EMN's user avatar
  • 163
Advice
0 votes
3 replies
50 views

For decades, cache busting has been promoted as a "good practice" basically everywhere, to the point where it is also declared as such in MDN. I am not sure I understand why, considering ...
Eric MORAND's user avatar
  • 6,822
0 votes
1 answer
103 views

In the Google Slides API sample, it says to do a GET request: GET https://www.googleapis.com/drive/v3/files?q="mimeType=application/vnd.google-apps.presentation"&fields=files(id,name,...
Alan's user avatar
  • 27
1 vote
0 answers
51 views

I'm working in a team that supports the delivery of image files over the web. We've noticed that some requests for images (via image URLs) coming from mobile devices do not contain the Accept header ...
Savina Dimitrova's user avatar
3 votes
3 answers
120 views

Calling an api. For almost all calls the response comes clean but for a few there is garbage in the returned json. Executing the garbage one in the Firefox browser with the same parameters returns ...
Clodoaldo Neto's user avatar
0 votes
2 answers
137 views

Authentication flow: User is redirected back to my site (to /auth/callback) after logging in with a 3rd party. The redirect back includes query params. The React function on the callback page sends ...
Thomas's user avatar
  • 6
2 votes
1 answer
53 views

I am struggling to send streamed response to the connected client. The code below is the example HttpServer used to respond to the client, the client code is also mentioned using a custom class to ...
Sameer Ahmed's user avatar
1 vote
2 answers
103 views

I have a request (going to an APIM endpoint.) From Postman the test runs just fine, but from my code it fails with a 400. I looked at the requests in fiddler and the only difference is this: // This ...
Fraser Orr's user avatar
Advice
3 votes
4 replies
98 views

I'm implementing some PHP application on server A that receives a request from a client (browser), which will lead to a HTTP request to be sent to another server B. The client resuest is then answered ...
phunsoft's user avatar
  • 2,744
0 votes
1 answer
102 views

I am trying to form a plain HTTP connection to a local gRPC server. This worked using the deprecated Grpc.Core package, but with Grpc.Net.Client I receive: Exception calling "Wait" with &...
Mitten.O's user avatar
  • 1,117
0 votes
0 answers
81 views

I'm developing a Flutter app that loads a web page containing an embedded video player. When the page loads, the browser internally makes several HTTP requests (for example, .m3u8 or .ts files), but I ...
mikealexx's user avatar
0 votes
1 answer
111 views

I'm quite new to web scraping, and in particular in using Scrapy's spiders, pipelines... I'm getting some 202 status from some spider requests' response, hence the page content is not available yet ...
Manu310's user avatar
  • 178
0 votes
0 answers
40 views

I'm building a Microsoft Teams bot using n8n that receives messages via webhook and responds back to the conversation. The bot successfully receives incoming messages and obtains an access token from ...
Coen's user avatar
  • 1
2 votes
1 answer
77 views

In my PayPalService.cs file, I have a public method in the class that calls an Azure HTTP triggered method in PayPalFunctions.cs file that keeps failing due to an error: "Method not Allowed"....
John H's user avatar
  • 21
0 votes
1 answer
120 views

I have a .cargo/config.toml file that configures a custom, HTTP git-based registry (hosted on Bitbucket) to replace crates.io: [source] [source.artifactory] registry = "http://bitbucket/scm/<...
Alden Mirek's user avatar
0 votes
1 answer
76 views

A legacy application is running v12.18.0, and when presented with a large GET request it gives me 413 Request Header Fields Too Large I have checked the same request by running it on a different ...
Husain Shaikh's user avatar
0 votes
0 answers
54 views

I am doing labs in PortSwigger and the topic is HTTP request smuggling. And I am working on CL.TE and TE.CL. And for these labs : https://portswigger.net/web-security/request-smuggling/exploiting/lab-...
Wissem Flitti's user avatar
0 votes
1 answer
46 views

I'm designing a REST API that provides an integration layer to an underlying system I have no control over. Without going in to detail, in this system, there are products with default prices. A custom ...
mbloms's user avatar
  • 33
0 votes
0 answers
52 views

I'm at my wits end here. The browser is not providing the cookie on my fetch() request. I'm running a SpringBoot server on port 8081 and have set up my CORS like so: @Bean CorsConfigurationSource ...
DuncoChunko's user avatar
2 votes
1 answer
145 views

I'm trying to download a webpage from a specific website (Bandcamp). I'm getting different results although the request seems the same: On Windows 10, using a HttpClient in C#: I'm getting "...
Otiel's user avatar
  • 18.8k
0 votes
1 answer
75 views

I do not understand the real difference between webhooks and traditional pooling of endpoints because to me webhooks still require pooling. **Traditional case: Client asks, server tells ** In a ...
LND TECH's user avatar
2 votes
0 answers
58 views

I was under the impression that given an rpc like below rpc FetchResource(GetResourceRequest) returns (ResourceResponse) { option (google.api.http) = {get: "/v1/resource/{resource_id}/group&...
dat's user avatar
  • 442
0 votes
1 answer
71 views

I am trying to pass text like "Video Transmission & internal Recording No Filters 1x 11 Handheld Monitor 1x 19 Monitor" --> so 5 and more likes with several empty line inbetween as ...
Maryna_HI's user avatar
0 votes
1 answer
104 views

I am using Ncat to send raw HTTP requests to the backend JS server. I will add here the backend and frontend files. We write ourselves, which is the goal of the task. I have installed Ncat and I send ...
Rodrigo Galvão's user avatar
0 votes
0 answers
86 views

I have condiiton in my http server that check if req.headers["host"] is undefined or not. I am using supertest and mocha to send GET request. I tried to use unset("Host"), but ...
Paskal's user avatar
  • 1
0 votes
1 answer
212 views

SOLUTION: Got rid of the --header flag, added json= to the beginning of the data set. I'm attempting to update some settings in a qBitTorrent Docker container via the WebUI's included API. I've ...
tambourinecenter's user avatar
0 votes
1 answer
168 views

I have a serverless pipeline on Google Cloud. It consists of three total steps: A video uploader that sends videos to Google Cloud Storage. Working fine. An eventarc + pub/sub trigger that fires ...
Raul Chiarella's user avatar

1
2 3 4 5
1361