Tag: httprequest

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
895 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
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