672 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
1
answer
143
views
Add upstream HTTP header if not present with Kong API Gateway [closed]
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 ...
0
votes
0
answers
38
views
How to get auth-header to work with PrimeReact FileUpload?
I use Clerk as my authentication provider and Primereact as the UI library in my React app.
Locally, this file upload works perfectly:
<FileUpload onBeforeSend={BeforeSend} chooseLabel={t("...
0
votes
0
answers
96
views
Next.js internal chunks throwing CSP Violation error
I'm getting CSP errors in my console for Next.js chunks:
52774a7f-5ebbf62ba1149ac0.js:1 Refused to apply inline style because it violates the following Content Security Policy directive: "style-...
0
votes
0
answers
40
views
Request fails due to header Expect 100-continue
A windows software is used to send a request to a api endpoint.
The request comes a along with a image, which will be changed and in the same request the changed image is returned in the response.
The ...
0
votes
0
answers
91
views
How to alter request header of XYZ (or ImageTile) source in openLayers
is there a way to alter the request headers that XYZ (or ImageTile) source sends to the server? As for now, I put the data as part of the url via tileUrlFunction, but I would prefer it not to be the ...
0
votes
0
answers
37
views
CORS: custom headers not reaching Flask backend from browser, but work with curl
I have a problem with custom headers not being received in my flask backend when the request is made from the browser, however when I test from curl the headers arrive inside the request.headers....
1
vote
1
answer
77
views
Interceptors.request unable to add a request header
I have a react nextJS project, and the following code:
import axios from "axios";
import config from '@/app/settings/config';
import { configConsumerProps } from "antd/es/config-...
0
votes
2
answers
82
views
Authorization access token in request header
I have trying to pass authorization token in Request header, but it's failing. Please help me to pass this.
I have used Regular Expression Extractor and Json extractor with "access_token":"(.+?)" ...
0
votes
1
answer
261
views
Angular HttpClient: Failled to set any Header in an Http Request
I just started to learn Angular (using Version 19). So far the work with HttpClient goes on quite well. I've tried all kinds of requests with my backend (which is a Spring Boot application), all ...
-1
votes
1
answer
99
views
Overriding behaviour of a default Filter in Spring Boot application
I have a Spring Boot application. When I make a call to the application, I send a header named X-ID. I have a read only library in my application which has a filter that validates the header that if ...
1
vote
0
answers
15
views
Express-session does not set cookies for request headers and response headers when deploy nodejs
I got struggle when I deploy my backend with EC2 and the domain after deploy is http://52.xx.xx.xx:8080. I can not set cookies for request header.
The flow is that
When the user clicks on "Login&...
0
votes
1
answer
35
views
Jersey : 'Access-Control-Allow-Origin' header gets encoded
From my site's user interface, I call back end API that is running through Jersey HK2 and I have following code in the filter:
final String origin = httpRequest.getHeader("origin");
...
1
vote
1
answer
457
views
Spring-Cloud-Gateway request-header filter not working
I want to remove the authorization-header in spring-cloud-gateway.
Its not possible to do this by spring docs, because the header is readonly. The following code throws an UnexpectedOperationException
...
0
votes
1
answer
163
views
Possible to set Request Headers in Selenium?
I'm trying to write a test against a site that authenticate's by checking some headers.
In other frameworks it's possible to add headers to the driver but I can't see anything like that in Selenium.
...
1
vote
2
answers
447
views
How do I get Backblaze B2 to respond with Access-Control-Allow-Origin?
I'm trying to fetch an image using JavaScript from a Backblaze bucket that is set to allPrivate.
I have a correct authorization code that works if I fetch the image like this:
echo '<img src="'...