http-request Questions
1
Solved
When to use RequestHandler.get_argument(), RequestHandler.get_query_argument() and RequestHandler.get_body_argument()?
What is the use-case for each of them?
Also what does the request.body and r...
Taunyataupe asked 15/1, 2016 at 20:4
0
I am trying to make a web application that we can get an access token in 'password' grant type by just call some http basic request
For example
When I call
http://localhost:8080/demo4ssh-securi...
Kaliningrad asked 28/9, 2015 at 16:55
1
Solved
I've just converted a PageKit (mod_perl) application to Plack. This means that I now need some way to enforce the POST_MAX/MAX_BODY that Apache2::Request would have previously handled. The easiest ...
Nowise asked 17/12, 2014 at 15:50
2
I was wondering if we can measure the time it takes for an http request to be completed using node.js. Modifying slightly an example from the documentation (here), one can easily write down the fol...
Tetrode asked 25/9, 2014 at 11:23
3
i would like to use this Google API (for testing only):
https://www.google.com/speech-api/v1/recognize?xjerr=1&client=chromium&lang=en-US
My question is: how should I send a POST request ...
Transom asked 24/11, 2011 at 18:22
4
Solved
I have the following code:
Image tmpimg = null;
HttpWebRequest httpWebRequest = (HttpWebRequest)HttpWebRequest.Create(url);
HttpWebResponse httpWebReponse = (HttpWebResponse)httpWebRequest.GetResp...
Tameshatamez asked 9/4, 2012 at 17:37
2
Solved
How do I pass a composite JSON structure via AJAX call from JS and on the server side, read it as a "very similar" data structure in python?
I understand that json formatting can be used (simplejs...
Ambassadress asked 5/4, 2012 at 20:36
1
Solved
In Powershell v3.0 I would like to return the response code from an HTTP GET, such as 200 OK or 500 Internal Server Error. (This is for a hack-deploy to do a quick warmup of a deployed site and see...
Dedicate asked 27/3, 2014 at 19:9
0
As shown in Abort DoJo XHR-Request it is possible to cancel a (dojo/request/xhr) http request on the Client.
The problem is, that the according server process (initiated by the request) is still ru...
Mayfly asked 8/3, 2014 at 18:16
3
Solved
So my timeline always looks like this
http://see.kirkstrobeck.com/TjQU/Screen%20Shot%202014-02-04%20at%206.40.14%20PM.png
The index.html loads and then asks for other files. I was thinking is the...
Roomy asked 5/2, 2014 at 2:47
5
Solved
I am implementing a client library for a private HTTP-API using python requests. The API(which I don't control) expects the parameters to be in a certain order, but python-requests doesn't honor a ...
Amelioration asked 10/1, 2012 at 12:1
1
Is there a way to send an HTTP request with a different IP from what I have in Node.js?
I want to send a request from an IP that I choose before, and not from the IP of the server or from my compu...
Hydrochloride asked 29/11, 2013 at 22:30
1
Solved
Below is an example HTTP 1.1 call with a single page requested :
GET /jq.js HTTP/1.1
Host: 127.0.0.1
Accept: */*
I understand with HTTP Pipelining, multiple requests can be sent without breaking...
Kataway asked 27/10, 2013 at 14:25
2
Solved
I'm trying to get the form parameters of a request in a request filter:
@Override
public ContainerRequest filter(final ContainerRequest request) {
final Form formParameters = request.getFormParam...
Tolan asked 9/8, 2013 at 1:32
1
I have looked through many SO threads on how to create a session using the requests library, but none of the methods I tried actually log me in. I have very little experience with web design and pr...
Table asked 7/6, 2013 at 22:47
3
Solved
I attempted to make -[NSString stringWithContentsOfURL:encoding:error:] asynchronous, by running it a-synchronically from a background thread:
__block NSString *result;
dispatch_queue_t currentQue...
Murrumbidgee asked 23/7, 2012 at 22:7
1
Solved
I'm using Python Requests. All works great but today I get this strange error:
[...]
File "/usr/local/Cellar/python/2.7.2/lib/python2.7/site-packages/requests/models.py", line 321, in full_url
n...
Titus asked 4/2, 2012 at 21:30
2
Solved
So after establishing my listening for a connection and accepting one:
ServerSocket serverSock = new ServerSocket(6789);
Socket sock = serverSock.accept();
When I type into my browser localhost:...
Negativism asked 12/9, 2012 at 10:48
1
Solved
For certain resources, my RESTful server only accepts PUT and POST requests with JSON objects as the content body, thus requiring a Content-Type of application/json instead of application/x-www-for...
Weizmann asked 15/8, 2012 at 17:8
2
Using this curl command I am able to get the response I am looking for from Bash
curl -v -u z:secret_key --proxy http://proxy.net:80 \
-H "Content-Type: application/json" https://service.com/data....
Limp asked 13/12, 2011 at 0:30
4
Solved
I try to perform a simple POST-request with urllib2.
However the servers response indicates that it receives a simple GET. I checked the type of the outgoing request, but it is set to POST.
To ch...
Geotectonic asked 2/3, 2012 at 23:11
3
Solved
I'm trying to parse the result of a HEAD request done using the Python Requests library, but can't seem to access the response content.
According to the docs, I should be able to access the conten...
Entice asked 4/3, 2012 at 12:44
1
Solved
Are there any straightforward ways to make a HTTP request and get at the raw, unparsed response (specifically the headers)?
Helsinki asked 18/1, 2012 at 22:18
3
Solved
I want to implement a class which will handle all HTTP Requests of my application, which will be basically:
Get a list of business (GET);
Execute a login (POST);
Update the location (POST).
So,...
Donielle asked 12/1, 2012 at 1:46
4
Solved
Is it possible to detect if an incoming request is being made through a proxy server? If a web application "bans" users via IP address, they could bypass this by using a proxy server. That is just ...
Diaphanous asked 27/3, 2009 at 14:39
© 2022 - 2024 — McMap. All rights reserved.