Tag: request

60 votes
13 answers
2.4K views
Why is a git 'pull request' not called a 'push request'?

The terminology used to merge a branch with an official repository is a 'pull request'. This is conf

avatar
Adolfo
0 1 0 9
asked 07 September, 2021
50 votes
30 answers
1.8K views
A potentially dangerous Request.Form value was detected from the client

Every time a user posts something containing < or > in a page in my web application, I get this exceptio

avatar
Patsy
0 1 0 9
asked 07 September, 2021
63 votes
9 answers
1.2K views
Handling cookies in PhoneGap/Cordova

I'm working on a PhoneGap app with server session usage. It needs cookies to handle the session. Addition

avatar
Dorian
0 1 0 9
asked 07 September, 2021
60 votes
21 answers
896 views
How is an HTTP POST request made in node.js?

How can I make an outbound HTTP POST request, with data, in node.js?

avatar
Bryan
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
62 votes
18 answers
1.2K views
Origin is not allowed by Access-Control-Allow-Origin

I'm making an Ajax.request to a remote PHP server in a Sencha Touch 2 application (wrapped in PhoneGap).

avatar
Patsy
0 1 0 9
asked 07 September, 2021
63 votes
8 answers
2.3K views
How many concurrent AJAX (XmlHttpRequest) requests are allowed in popular browsers?

In Firefox 3, the answer is 6 per domain: as soon as a 7th XmlHttpRequest (on any tab) to the same domain is f

avatar
Lawanda
0 1 0 9
asked 07 September, 2021
51 votes
13 answers
1.6K views
Send POST data using XMLHttpRequest

I'd like to send some data using an XMLHttpRequest in JavaScript. Say I have the following form in HTML:

avatar
Jesenia
0 1 0 9
asked 07 September, 2021
66 votes
11 answers
908 views
How to use java.net.URLConnection to fire and handle HTTP requests

Use of java.net.URLConnection is asked about pretty often here, and the Oracle tutorial is too concise about i

avatar
Vi
0 1 0 9
asked 07 September, 2021
57 votes
30 answers
2.6K views
How can I upload files asynchronously with jQuery?

I would like to upload a file asynchronously with jQuery. $(document).ready(function () { $("#uploa

avatar
Dario
0 1 0 9
asked 07 September, 2021
56 votes
13 answers
1.1K views
Detecting request type in PHP (GET, POST, PUT or DELETE)

How can I detect which request type was used (GET, POST, PUT or DELETE) in PHP?

avatar
Omar
0 1 0 9
asked 07 September, 2021
60 votes
2 answers
2.4K views
How to obtain values of parameters of get request in flask?

The answer that I found on the web is to use request.args.get. However, I cannot manage it to work. I have the

avatar
Serina
0 1 0 9
asked 07 September, 2021
49 votes
4 answers
493 views
What is the usefulness of PUT and DELETE HTTP request methods?

I have read a lot stuff about this but not able to get the conclusion on this topic. But I've never use

avatar
Janella
0 1 0 9
asked 07 September, 2021