Most voted "http-headers" questions
73 questions
Sort by count of
-
0
votes0
answers16
viewsParameters with ':'
I tried to send a headers and had the following error: "Invalid header name b':Authority'" And this error repeats to: ':method', ':path' and ':Scheme' The question is, should I send without the ':',…
-
0
votes0
answers908
viewsHow to use Ajax contenttype to transfer XML and JSON data between services?
Good afternoon, you guys! I need to pass data in XML and JSON formats to an API I am developing. Every time I place contenttype: "application/json/xml; charset=utf-8" in my Ajax block, I get the…
-
0
votes0
answers79
viewsHow to use the contenttype sent by the client on the server
Good afternoon! I am trying to understand the workings of contenttype. As far as I know, I would be telling the server to use the formed JSON UTF8 to correctly encode the data I am sent.…
-
0
votes1
answer154
viewsHow to change http Accept language in Firefox Developer Edition?
I am developing a website that should work for Portuguese and English - preferably automatically. By php I already got the HTTP-ACCEPT-LANGUAGE, and now I need to start testing the code that will…
-
0
votes0
answers118
viewsAccess to Wordpress API http-headers using Angular 2
I’m having a very simple doubt on Angular 2. I have an application that connects with Rest API of Wordpress and I’m having a problem that I imagine is very simple, but I’m not finding on the web a…
-
0
votes1
answer438
viewsCURLOPT_HEADERFUNCTION - Return of cookies
I have this function that returns Cookies from a particular site, I’m learning HTTP HEADERS, But I don’t know why this warning if I’m returning my cookies all okay, What’s wrong with my code?…
-
0
votes1
answer449
viewsHttp request with angular 6
I’m trying to consume a REST service that has a basic authentication with angular 6 but I’m not succeeding follow the code I’m using unsuccessfully: public iniciarProcesso(dadosProcesso: string):…
-
0
votes1
answer239
viewsError Defining Headers-Authorization in Data Return in Axios
I’m trying to set the headers - Authorization after a request via Xios, this request returns the token that is generated on the server, in line 7 of the code below assign the token that is returned…
-
0
votes1
answer186
viewsAngular4: How to recover values in Response Headers
I have a Webservice that returns a PDF file (byte[]). I am returning the file name in the Response header. In Chrome I can see the values of 'Response Headers' and see that all headers are there,…
-
0
votes2
answers834
viewsHow to send headers on all Ionic HTTP requests 3
My code is like this, I would like to know how to send an Authorization token in all http requests made in Ionic 3: import { Component } from '@angular/core'; import { NavController } from…
-
0
votes2
answers1371
viewsHow to receive express headers sent by Xios in React.js
My front sends requests with Axios to Node express API this way: class ServiceRequest { constructor() { this.api = axios.create({ baseURL: URL_BASE, timeout: 1000, headers: { 'Content-Type':…
-
0
votes1
answer248
viewsAngular 7: Add multiple parameters to the URL with Httpparams
Reading the angular documentation I managed to develop the following search method with filters, but the problem is that I need a search with several filters and not just 1 as shows the code below…
-
0
votes2
answers650
viewsHow to work with JWT authentication header in Adonisjs?
To get to the point, I want to know how to work correctly with JWT on Adonisjs (I’m learning to use the framework and I’ve never worked with JWT before). My problem now is that I don’t want to keep…
-
0
votes1
answer205
viewsHow to handle CORS prefilight request?
I have a problem in a study project, I gave a "googlada" and learned that whenever I make a first request defining headers for an Api, this request will be as OPTIONS, so that the browser receives…
-
0
votes1
answer191
viewsBest way to set up the HTTP header content-length
Hello, I have a video player that makes a request via Servlet that already works and I need to include a new video. At first I will return the video according to the logged in user. The problem I…
-
0
votes1
answer797
viewsHow to get an answer that is in the request header
I’m making a site that contains a forum and I need to pick up the amount of topics and registered users and with this in my back-end I send these quantities by header. I’m using in my back-end Cors,…
-
0
votes0
answers76
viewsHEADERS Content-Security-Policy on APACHE HTTPD with Proxypass and Proxypassreverse
I need to include headers from CSP within Apache HTTPD. Configuration I currently have: servor_backend IP: 10.10.10.11 WebServer: Apache Tomcat 6 Port: 8080 (http), 8009 (ajp) servor_frontend IP:…
-
0
votes1
answer38
viewsMy JWT+Bearer token always returns me unauthorized (401) C#
I have a system for studies, totally decoupled the front-end of the back-end. I implemented JWT+Bearer, however I log in by the controller and it returns the information with the token: But when I…
-
0
votes0
answers26
viewsHow to get something in the api header?
Guys as they are? I have a little problem to get the header of a request via fetch or Next... using insomnia the header appears However when I make a request via Xios or fetch it does not return…
-
-1
votes1
answer146
viewsAngular Integration with Delphi
I have a Delphi Datasnap Restful server to be accessed with Angular front-end, I was able to apply GET normally but in trying to run a DELETE I get the http error Failure Would anyone know how to…
-
-1
votes1
answer197
viewsApi headers error with nodejs
[nodemon] restarting due to changes... [nodemon] starting `node index.js` rodando na porta 3000, Ctrl+C para parar…
-
-1
votes1
answer25
viewsHow can I avoid intermittent Cors errors with Axios and Vue.js requests?
I have an application developed in Vue.js that performs requests through Axios for an api developed in Node.js with express. My problem is that in 3% of requests CORS is blocked by locking the…
-
-2
votes2
answers798
viewsHow to get header data in PHP post
Guys, I’m having a hard time getting a specific header data sent by Pagar.. When sending a postback to the site server, I need to use the signature sent in Header, in case the X-Hub-Signature…