Tag: header

61 votes
3 answers
1.3K views
Reading header data in Ruby on Rails

I am making an API where in the access token for Facebook login will be sent in through header data. How do I

avatar
Joseph
0 1 0 9
asked 07 September, 2021
51 votes
9 answers
3.1K views
Returning a file to View/Download in ASP.NET MVC

I'm encountering a problem sending files stored in a database back to the user in ASP.NET MVC. What I wan

avatar
Roger
0 1 0 9
asked 07 September, 2021
56 votes
12 answers
1.7K views
HTTP headers in Websockets client API

Looks like it's easy to add custom HTTP headers to your websocket client with any HTTP header client whic

avatar
Daniel
0 1 0 9
asked 07 September, 2021
60 votes
25 answers
1.4K views
In Node.js, how do I "include" functions from my other files?

Let's say I have a file called app.js. Pretty simple: var express = require('express'); var ap

avatar
Deedee
0 1 0 9
asked 07 September, 2021
54 votes
9 answers
790 views
How can I add a custom HTTP header to ajax request with js or jQuery?

Does anyone know how to add or create a custom HTTP header using JavaScript or jQuery?

avatar
Rudy
0 1 0 9
asked 07 September, 2021
60 votes
10 answers
2K views
CORS: Cannot use wildcard in Access-Control-Allow-Origin when credentials flag is true

I have a setup involving Frontend server (Node.js, domain: localhost:3000) <---> Backend (Django, Ajax,

avatar
Brianne
0 1 0 9
asked 07 September, 2021
47 votes
8 answers
1.4K views
Access Control Request Headers, is added to header in AJAX request with jQuery

I would like to add a custom header to an AJAX POST request from jQuery. I have tried this: $.ajax({ ty

avatar
Sena
0 1 0 9
asked 07 September, 2021
65 votes
9 answers
1.7K views
What does enctype=&apos;multipart/form-data&apos; mean?

What does enctype='multipart/form-data' mean in an HTML form and when should we use it?

avatar
Stacia
0 1 0 9
asked 07 September, 2021
60 votes
6 answers
982 views
Upstream too big - nginx + codeigniter

I am getting this error from Nginx, but can't seem to figure it out! I am using codeigniter and am using

avatar
Chelsea
0 1 0 9
asked 07 September, 2021
60 votes
6 answers
1.6K views
Handling PUT/DELETE arguments in PHP

I am working on my REST client library for CodeIgniter and I am struggling to work out how to send PUT and DEL

avatar
Benton
0 1 0 9
asked 07 September, 2021
55 votes
11 answers
1.3K views
55 votes
19 answers
1.1K views
Returning JSON from a PHP Script

I want to return JSON from a PHP script. Do I just echo the result? Do I have to set the Content-Type header?

avatar
Gigi
0 1 0 9
asked 07 September, 2021