Tagged Questions
0
votes
0answers
9 views
401 prompt on 3G, but not on Wi-Fi - XmlHttpRequest over SSL with Basic Authentication, hard-coded credentials
I have an XmlHttpRequest that uses hard-coded credentials for Basic Authentication. The website (HTML/CSS/JavaScript) itself is already authenticated with client certificates, so I'd rather just use ...
1
vote
1answer
59 views
jQuery returns status code 404 instead of 403
I'm having trouble with jquery 2.0.2 and getting it to identify a HTTP 403 status code when calling my API (hosted on the same machine, just like the static web page the call is coming from). From a ...
0
votes
0answers
18 views
Ajax request not updating
I made an ajax call to a servlet and it responds with data which I can see in the page source (so that is working), but the data is not being shown on the page.
In Javascript:
if(date!=null ...
1
vote
0answers
30 views
Angular JS POST vs regular XHR
Trying to upload an image using angular's $http.post()
I'm setup like this, where file is the first file from the file input.
var fd = new FormData();
fd.append("content", file);
...
0
votes
2answers
23 views
I'm trying to src a js file containing XMHTTPRequest script into my HTML
If I embed my XHR file into my HTML document directly, everything works fine. As soon as I src it via
<script type="text/javascript" ...
0
votes
1answer
17 views
How do the JsHelper Request success/error/complete callbacks work in CakePHP 2.1?
I'm trying to set up an invitation request page using the CakePHP 2.1 framework, jQuery, and Cake's JsHelper in order to submit the users email and then issue a response. Ideally, I would like to ...
0
votes
0answers
14 views
ajax cross-domain policy explanation
I am bit confused with cross domain policy.
Send request through my browser and taken tcpdump on server :
Taken tcpdump at : 12.20.0.242
POST /appsuite/api/oLogin HTTP/1.1
Host: 12.20.0.242
...
1
vote
1answer
27 views
XMLHttpRequest alters text in UTF-8
While processing a huge XML client-side, got stuck with the following issue: some unicode characters are replaced with unreadable sequences, so server cannot parse that XML. Testing like this:
var ...
0
votes
1answer
49 views
Origin localhost: is not allowed by Access-Control-Allow-Origin
Hello I am developing a project for my homework. First of all, I know there are many title about same problem, I looked at many of them, but I couldn't resolve this issue. If someone could help me, I ...
0
votes
0answers
22 views
Ajax returns json in fiddler but not on firebug console?
I am making a AJAX GET request to a URL. I am using firefox to do that and firebug to check the output. Also I am using Fiddler to see the request status.
While I make request, I am getting the json ...
1
vote
0answers
13 views
Finish XmlHttpRequest (XHR) Even When User Leaves Webpage/site
Background:
Website using amplifyjs for ajax calls.
Problem:
User makes a selection, but leaves webpage/site before the xhr completes. Their selection is not saved.
Expected Result
The service ...
0
votes
1answer
54 views
Trying upload large file from formData
I trying upload large file (over 200mb) via FormData and xmlHTTPRequest like this
var fd = new FormData;
fd.append('files[]', file);
xmlHttpRequest.open("POST", url, true);
xmlHttpRequest.send(fd);
...
1
vote
0answers
28 views
Avoid AJAX from console
Let's say I have several ajax request in my web-application.
This request requires id's from user and from stuff I'm sending to the server .
Unluckily this id's are visible to users who inspect the ...
0
votes
0answers
10 views
Does the caching issue in IE is same with $.ajax() and xmlhttprequest?
Does IE caches the response from xmlhttprequest like it does with the $.ajax() requests?
1
vote
0answers
53 views
Cloud Endpoints Cookies Authentication Custom Domain
Alright. I am aware with the limitation that Endpoints can't be served on a custom domain. However, I am serving my application on the custom domain and calling the endpoints with the *.appspot.com ...