HTTP Request is a message within a request/response sequence, according to HTTP specification. May also refer an HttpRequest class in software frameworks and libraries that automates relevant functionality
1
vote
0answers
7 views
Batch upload requests to Google Cloud Storage using javascript
I'm trying to upload multiple images to google cloud storage in a batch request using javascript. I'm using https://developers.google.com/storage/docs/json_api/v1/how-tos/batch#example as reference.
...
1
vote
0answers
10 views
Android : Catch all http requests from an app and Edit header and Forward
I want to Catch all request from a android app to the internet and Edit Header information. For example i want to add a Header field Host. Then forward to internet.
How this can be achieved.
My ideas ...
0
votes
1answer
30 views
AJAX vs HTTPRequest
i'm rewriting WebAppication to Native Application on Windows Phone.
I got into a little trouble, can't post data.
Here is the code for WebApplication - it works:
$.ajax({
url: ...
0
votes
1answer
27 views
jsonParser.makeHttpRequest error in json parsing
I try to parse data using json and AsyncTask. But am getting the error on these line:
JSONObject json = jsonParser.makeHttpRequest(url_product_detials, "GET", params);
this is my code:
public ...
1
vote
1answer
13 views
Retrieving data from MongoDB with ExtJS using the REST API
For the need of a simple demonstrator, I've created a simple grid panel in ExtJS, and now i'm trying to fill it with data coming from MongoDB. I heard about Node.JS and stuff but there I just want to ...
0
votes
1answer
8 views
How read data sent by Client with Spark?
I have to read some data sent by Client using Spark (a framework for java).
This is the code of client's post request. I am using jquery.
$.post("/insertElement",
{item:item.value, value: ...
0
votes
0answers
7 views
http request authentication AuthScope
I am just starting to learn how to make rest calls, so I am not sure what I am doing.
Part of my code in java is this:
public final static void main(String[] args) throws Exception {
HttpClient ...
0
votes
1answer
14 views
UTF-8 decoding problems in Java & Tomcat7
I'm sending an AJAX request to the server, where the param value is encoded in the "escape(...)" function.
The Tomcat server (7.0.42) is configured s.t. the receiving Connector has a ...
0
votes
1answer
16 views
How to get logged user name/Principal in Spring MVC REST channel?
I have Spring MVC REST channel:
@Controller
@RequestMapping("/rest")
public class REST {
and I have my method:
@RequestMapping(value = "/doSomething")
public @ResponseBody DoSomethingResultDTO ...
0
votes
2answers
23 views
NSURLConnection Return Cached Response Even After Resetting Authorization Heder
So this is the use case.
Application Run, Authorization Header is set to nil. You get fresh data.
[_request setValue:nil forHTTPHeaderField:@"Authorization"];
User login, After that all the ...
0
votes
2answers
20 views
Set Timeout on Asynchronous Http Client
im using the Asynchronous Http Client that can be found here: http://loopj.com/android-async-http/
and it works great besides about 1 out of every 10 or so requests I make end up giving me a ...
0
votes
0answers
22 views
Where do HTTP request cookies originate?
I have a VB.NET app that sends a POST request to a script on my server that is running Cloudflare. I always get an error when sending the request from the app, however using a Firefox extension to ...
0
votes
0answers
28 views
How should I set a HttpURLConnection to be the same as a HttpServletRequest?
I have a server, and I want to forward the requests to an other server (maybe with modifications).
I use HttpURLConnection to connect to the second server (from the first server).
I can get a lot of ...
0
votes
3answers
25 views
How to set custom http headers when changing iframe src?
Is there a way to add a custom http header into the request done by an when changing the source (src) using javascript?
0
votes
1answer
28 views
REST Services - Do I really have to read the OperationContext to get the message?
I'm trying to create a sample REST-service and a client.
I'm quite shocked, because it seems that I can only ready the messagebody over a hack, the operationContext:
var ctx = ...