Questions tagged [http-request]

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

From W3C specification:

A request message from a client to a server includes, within the first line of that message, the method to be applied to the resource, the identifier of the resource, and the protocol version in use.

    Request       = Request-Line              ;
                    *(( general-header        ;
                     | request-header         ;
                     | entity-header ) CRLF)  ;
                    CRLF
                    [ message-body ]          ;

See also:

355 questions
1
vote
1 answer

I'm tracking clickbacks of a link on my site and when I share on twitter I'm getting too many clicks

On our website we've launched a feature where people can track how many clicks they get on a link they share on twitter. The problem is that when I share the link on Twitter, I immediately get 5 clicks. Is there any way to prevent this from…
Arvind Sridharan
  • 3,885
  • 4
  • 29
  • 54
1
vote
1 answer

how to convert http request to JSON object in javaee5

I want to convert request xml to JSON string. which framework is better to use? jettison, jackson, json-org,... and also how can I do this? Any idea? thanks Afsaneh
A. Abouei
  • 51
  • 6
1
vote
1 answer

Getting images with HTTP Request in C

I am writing a program in C that acts like a proxy server in a Linux system: Client asks it for a web page, it sends an HTTP GET Request to a distant server, and it gets the servers response (web page), which is saved in an .html file. Here goes my…
George Tseres
  • 498
  • 6
  • 19
1
vote
1 answer

JS file doesn't work in server

I've a js file located in my host http://mywebsite.com/data[0]/data[1]/test.js that has document.write() function in it. ( data[0] and data[1] are dynamic values that a php module handles them and js output would be different every time these values…
revo
  • 47,783
  • 14
  • 74
  • 117
1
vote
1 answer

How to fetch multiple JSONs in parallel with Eventmachine in Ruby

I'm new to EM and am following this example: EventMachine.run { http = EventMachine::HttpRequest.new('http://google.com/').get :query => {'keyname' => 'value'} http.errback { p 'Uh oh'; EM.stop } http.callback { p http.response_header.status …
1
vote
2 answers

Increase Internet Explorer 7 concurrent http request

I'm working on some performance improvements on a very big AJAX application. One of the constrains is that the applicaiton requires to be performing in internet explorer 7. Problem is that IE7 will not allow more than 2 concurrent HTTP request at…
Jorge
  • 11
  • 1
1
vote
1 answer

Multiple requests to same resources when using multiple +1 and "Like" buttons

My site is http://fridgecow.com. Thanks to the blog I recently installed to the front page, I now have over 100 HTTP requests, and most of them to the same site. I have done all I can on my side (sprited, condensed, etc) but still I end up with a…
drnessie
  • 877
  • 2
  • 12
  • 25
1
vote
1 answer

Node.js: Sending many AJAX requests to begin backend job queues

Preface: I'm trying to prefetch content from a given set of URLs asynchronously. I'm needing to send my node.js app around 40-60 local ajax requests in order to add jobs to a queue (node-chain-gang) from the client-side. Right now, I have it making…
Ryan
  • 21,437
  • 7
  • 25
  • 28
1
vote
1 answer

HTTP DELETE Request returning a (405) Method Not Allowed Error. Why?

I'm attempting to send a DELETE request through csharp, ASP.NET and its returnin a (405) Error. Below is the code that I'm using: request = System.Net.HttpWebRequest.Create(myTargetURL); request.Method = "DELETE"; response = …
William Calleja
  • 4,055
  • 11
  • 41
  • 51
1
vote
1 answer

How to create a cross domain HTTP request

I have a website, and I need a way to get html data from a different website via an http request, and I've looked around for ways to implement it and most say via an ajax call instead. An ajax call is blocked by linked in so I want to try a plain…
Midnight_Blaze
  • 481
  • 6
  • 29
1
vote
0 answers

Microsoft Cognitive Services - Bing Speech to Text with JAVA - curl to http request

i want to code a java http request for posting audio file (wav) for speech to text transformation. I´m quite new to http requests, and could not find any useful hints how to achieve that. In…
1
vote
0 answers

How to disable SpagoBI POST to GET call conversion

I am using SPAGOBI 5.1 as reporting tool. The software in GRAY-BOX-Testing came up with issue that, it allows response to POST call query when it is converted to GET call. so how to come out with such issues. Where actual call type is POST & testing…
NIket
  • 914
  • 1
  • 6
  • 19
1
vote
1 answer

Is it necessary to read data before close http response?

Is it necessary to read request data before calling the close method of response inside a http server in java? I have a http server written by sun's http server. When I receive a http request, I just simply do the following steps: write my text to…
S.Yavari
  • 876
  • 8
  • 25
1
vote
0 answers

Internal request without change the current route

How I can make a internal request without change the current route. My routes: Route::get('/my/action1', ['as' => 'action1', 'uses' => 'MyController@action1']); Route::get('/my/action2', ['as' => 'action2', 'uses' => 'MyController@action2']); My…
Alex Oliveira
  • 133
  • 1
  • 9
1
vote
1 answer

Susbstitute environment variables in request body of HttpRequest plugin of Jenkins

I am using HTTP Request Plugin to make calls to a REST based Web service. In those calls I want to pass the console output URL in request body in JSON format. I am constructing the console output URL using environment variable…
user55926
  • 315
  • 1
  • 14