Skip to main content
Filter by
Sorted by
Tagged with
Best practices
0 votes
0 replies
17 views

In order for the recipient (often myself) to be able to reconstruct the original request URL, I'd like my own http server to support the "X-Forwarded-Prefix" header when serving as a proxy. ...
Sebastian's user avatar
  • 569
Advice
0 votes
0 replies
58 views

enter image description here I am studying about the backend, so I am looing at the topic of the HTTP headers. I am going through the YouTube HTTP headers, and I noticed that the "user-Agent"...
RADHA AGARWAL's user avatar
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
Best practices
0 votes
1 replies
76 views

TYPO3 uses HTTP middlewares to process requests, and responses and their headers are created within those middlewares. Now I'm deep in a powermail finisher and would like to add additional HTTP ...
cweiske's user avatar
  • 31.4k
Advice
2 votes
0 replies
75 views

I’m building a Scrapy-based crawler and facing Cloudflare protection on some sites. Here’s my current setup: I have a separate API service that can bypass Cloudflare by simulating a real browser (e.g....
Muhammad Sameer's user avatar
1 vote
1 answer
179 views

I've been using the Post-Function plugin in Kong Gateway to implement some custom logic. Lately, a large part of it has become unnecessary, and I am left with the following configuration, which only ...
Danilo Piazzalunga's user avatar
0 votes
0 answers
59 views

Bit of a messy setup, please accept my advance apologies. I am trying to coordinate work between 3 different GitHub Pages: https://bur.gy serves my Jekyll blog and registers a service worker called ...
Jan Burgy'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
1 vote
1 answer
116 views

I have a .NET Core project with two layers: an API layer and a UI layer, both in the same solution. The UI layer is built with ASP.NET Core MVC, where controllers call services, and the services use ...
za mk's user avatar
  • 11
4 votes
2 answers
200 views

Documentation for Powershell's Invoke-RestMethod does not mention any parameter which would configure maximum allowed size of request/response headers - Official Documentation. I'm trying to find out ...
MeryChon's user avatar
0 votes
1 answer
243 views

I’m trying to give users a one-click Add to Google Calendar link using the documente pattern: https://calendar.google.com/calendar/r?cid=\<URL-ENCODED_ICS_URL> However, Google consistently ...
Alexandru Jimbei's user avatar
1 vote
1 answer
228 views

PHP documentation for the header() function tells us: There are two special-case header calls... The second special case is the "Location:" header. Not only does it send this header back to ...
miken32's user avatar
  • 42.5k
0 votes
0 answers
53 views

I wanted to ask that there is something wrong with one of my endpoints, the endpoint seems to be blocked for some reasons, I have other endpoints that are giving response but this one fails.See the ...
Rinkesh Kumar Sinha's user avatar
0 votes
0 answers
132 views

I'm connecting Tank IP Camera (IPC) API to my windows application with Qt C++. IPC uses basic authorization. I'm using QtNetwork library for HTTP client connection, Qt 6.8.3 with C++17. I tested the ...
Davronito's user avatar
0 votes
0 answers
92 views

I'm using CEF-Sharp in a utility that a makes use of some Google Maps APIs. Google has recently been sending out emails whining about 'unsecured API keys'. So, on investigating, I figured the easiest &...
Kyudos's user avatar
  • 745
-1 votes
1 answer
139 views

I'm new to PHP, i wrote this: <?php header("Content-type: application/json"); flush(); // Note that $filename and $linenum are passed in for later use. // Do not assign them values ...
Green_Apple's user avatar
0 votes
1 answer
87 views

I have been working on web and backend development. For web using Apache http server, here facing issue regarding cookies size. On client browser cookies size is really huge and Tomcat server ...
keepmoving's user avatar
  • 2,043
1 vote
0 answers
54 views

I am encountering an issue where Gmail's 'Unsubscribe' button does not appear at the top of emails I send through Mailgun, despite my diligent inclusion and correct formatting of the List-Unsubscribe ...
Soham Rane's user avatar
1 vote
1 answer
159 views

I have my Laravel in maintenance mode, and would like to be able to be able to bypass it for checks, when a X-MAINTENANCE-BYPASS HTTP header is set with the same secret. php artisan down --secret=&...
olimortimer's user avatar
  • 1,391
0 votes
0 answers
85 views

I'm trying to write a simple file for testing Leaflet Plugin "Leaflet Custom Headers". Some discussion about the Plugin's purpose has been written here: https://github.com/Leaflet/Leaflet/...
ppete's user avatar
  • 91
0 votes
1 answer
146 views

We use Azure App Service and we use custom domain for that Azure App service Web App. As per docs I see the meaning of Always On feature is: Always On: Keeps the app loaded even when there's no ...
Learning_Learning's user avatar
1 vote
2 answers
448 views

I am using Ktor Client 3.1.3 in my Kotlin application. The HTTP Client is initialised like this: val httpClient = HttpClient { install(HttpCookies) install(ContentNegotiation) { json() ...
Adel M.'s user avatar
  • 510
1 vote
1 answer
155 views

I am using Google Apps Script to fetch data from an external URL. When the request is successful, I can get the HTTP status code with HTTPResponse.getResponseCode. However, if the request fails with a ...
Stevoisiak's user avatar
  • 27.9k
5 votes
4 answers
259 views

After opening Waterfox 6.5 (Firefox 128 ESR) back up (days or hours later) the session for my website is expired. However now the browser saves the DOM state and this leads to literally every form and ...
John's user avatar
  • 1
0 votes
1 answer
59 views

So I have been using the code below to fetch a list I needed for my website from an api of mine. I recently converted the certificate of the api hosting website to secure, issue is now my api is not ...
DrunkenPipeBomb's user avatar
0 votes
1 answer
57 views

I have an widget served with the following headers: Content-Security-Policy: frame-src *; Cross-Origin-Resource-Policy: same-origin Cross-Origin-Embedder-Policy: require-corp Despite CORP: same-origin,...
venkat surya's user avatar
0 votes
0 answers
80 views

What is the issue? We use AWS API Gateway for integration with the AWS S3 using REST calls. In the API Gateway transformation we haven't supported HTTP_HEADERS yet. And we don't want to roll out ...
Zahid Khan's user avatar
  • 3,395
0 votes
0 answers
31 views

In Chrome extension, I want to read the Set-Cookie header from the HTTP response when received. I did this several years ago and it worked, but surprisingly, I am unable to do it in the latest ...
Khan's user avatar
  • 303
0 votes
0 answers
44 views

When I'm writing CSS code for a webpage, I use a JavaScript plugin which uses Ajax to check whether a CSS file has been edited every second by checking the CSS file's Last-Modified header. If a CSS ...
Ian Y.'s user avatar
  • 2,457
-1 votes
1 answer
54 views

I'm building a rest API that has an endpoint for a collection of items. The response is a large JSON array, which takes a while for the client to process. On the server-side, each item in the ...
Rob Eyre's user avatar
  • 2,223
0 votes
1 answer
62 views

Within a Laravel project, I want to create a POST /movies route associated with a controller that has been created with its model: sail artisan make:model --controller --api --requests -- Movie which ...
lavalade's user avatar
  • 370
0 votes
0 answers
21 views

I have a ten-years old Chrome extension that was reading cookie header 'Set-Cookie' directly from the HTTP response. Now, am reusing the same extension, however, it does not read any cookie using the ...
Khan's user avatar
  • 303
1 vote
1 answer
76 views

How to get Referrer value from cURL URL? I am trying something like this but not working. $curldomain = "https://www.example.com/"; $ch = curl_init($curldomain); // Set cURL options ...
JK Sandhiya's user avatar
1 vote
1 answer
166 views

Let say, my website is https://www.example.com and i am using cURL to pull https://stackoverflow.com I am using cURL HTTP Header to spoof referer value like this curl_setopt($ch, CURLOPT_HTTPHEADER, ['...
Stellan Coder's user avatar
1 vote
1 answer
312 views

I have express.js based server and working on implementing etag HTTP header. So, I find out express has already etag and 304 status code implementation enabled. I was going through the code as found ...
Gourav Aggarwal's user avatar
0 votes
0 answers
51 views

This is my middleware.js file for the front end in Next.js. I want to create protected routes so that if a user doesn't have an access token, they are redirected to /. However, the cookies from the ...
Rahul Joshi's user avatar
0 votes
0 answers
37 views

I am using Angular for web application and PingAccess for Authentication (as Authorization Server). So, for me, After authentication and authorizion request is forwarded to Angular application (https:/...
keepmoving's user avatar
  • 2,043
0 votes
0 answers
265 views

I've just read this article about Flask and using Svelte frontend with a separate API specifically the section calledFrontend Served Separately (cross-domain) They are creating a CSRF cookie and ...
Johnny John Boy's user avatar
0 votes
1 answer
63 views

When upgrading OpenLiberty to any version above 24.0.0.4, requests which contain more than 32,000 characters in the uri fail. HTTP GET request. Traffic is internal. Characters are apart of the URI ...
Robert Mutchler's user avatar
0 votes
1 answer
201 views

I’m working on a minimal HTTP server in C that can listen, bind, accept connections, and handle basic HTTP requests. I understand that HTTP headers are important for communicating additional ...
Solrojo's user avatar
  • 71
1 vote
0 answers
56 views

When calling fetch("http://server.com/api) we can send custom headers, like "authorization". But when including images, videos, or other things in the HTML, there is no control over the ...
Alex's user avatar
  • 66.7k
0 votes
0 answers
63 views

I have an amplify application; that upload files to S3 bucket. It worked at the beginning until I'm starting to see errors on CORS Put requests to the s3 bucket on the Chrome console: Access to ...
Tal Yitzhak's user avatar
1 vote
1 answer
56 views

I am trying to send a JSON object to my controller to save a new Category. Here is my form with the button at bottom: <div id="register_modal" class="modal"> <div ...
JakeFromStateFarm's user avatar
0 votes
1 answer
159 views

I want disable caching on my static website. Currently I'm using the myFile.js?v=123 trick, and update the number every time I make a change. But I'm sure there's a better way of doing this. This ...
Petra1999's user avatar
0 votes
0 answers
251 views

I am fresher working on a project relating to icici breeze api and I am stuck for a long time now. Any help will be much appreciated. from datetime import datetime import hashlib import http.client ...
Anubhab Halder's user avatar
0 votes
0 answers
72 views

I have written a shiny app behind a application load balancer on AWS, the authorization of the users happens via Cognito, the JWT from the header (x-amzn-oidc-data) is retrieved than passed into the ...
xxmxx's user avatar
  • 1
2 votes
1 answer
163 views

I am trying to add an Ad Account User. I've tried the request as below, and with with URN. Both give me the error: compound key parameter value is invalid curl --request PUT \ --url https://api....
MSFU's user avatar
  • 31
0 votes
1 answer
80 views

I'm trying to read GML data from an OGC WFS source with Spring WebClient. However, the output format definition required by the service OUTPUTFORMAT=text/xml;%20subtype=gml/3.1.1 leads to the ...
Loibologic's user avatar
-1 votes
2 answers
155 views

void handleLogin(AsyncWebServerRequest *request){ String sessionId = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz" role = "admin"; ...
Amin Mashayekhan's user avatar
0 votes
0 answers
23 views

I need to log in to a website, but it always returns the error Connection required before calling other methods Using inspect and logging it presented this error regarding the dates. I believe that ...
Guilherme de Souza's user avatar

1
2 3 4 5
240