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
2 answers

Can't post a data by php without using form (especially for paypal payment)

I want to post a value of a variable from one php file(1.php) to another file(3.php) by php(not using ajax) without using form. how can I do that ? suppose, in '1.php' "$a=10;" I would like to post this value to '3.php' without using any form and I…
user1826381
  • 43
  • 1
  • 2
  • 7
1
vote
0 answers

intercept soap requests and http requests using php

I am trying to build an intrusion detection application and wanted to intercept the http or soap requests at the server before they are processed. I want to scan them and then deliver them to the server for processing. Can anyone help in how I can…
reaper
  • 11
  • 3
1
vote
0 answers

how to use fiddler with C# to track http requests

I am automating engineer using ranorex with c# and have a client requirement as below 1.we have scheduled few test cases to run daily 2.If any particular test case fails the https requests should be tracked for this failed cases I have googled and…
Praveen
  • 53
  • 1
  • 1
  • 8
1
vote
0 answers

http request and response forward to and from server

I am implementing HTTP server which will be responsible for: 1. Receiving requests from a browser and forwarding it to another HTTP sever. 2. And reading response from HTTP server and forwarding it directly to the browser. In this case i am taking…
Sudarshan
  • 11
  • 1
1
vote
1 answer

Finding Request URL in Javascript

I am creating a bookmarklet which opens up url in a proxy when for pages which are not loading (an example could be ERR_CONNECTION_TIMED_OUT in chrome). However, I am not able to fetch urls of such pages. For others (blocked by ISP) url is…
Ankit
  • 319
  • 2
  • 7
  • 17
1
vote
1 answer

Node.js concurrent https.requests ECONNREFUSED

I am trying to cycle through users and perform a request for each on a remote server. A lot of the requests fail with an ECONNREFUSED error. I've tried setting globalAgent.maxSockets and staggering requests but the issue persists. Is this a response…
matt3141
  • 4,303
  • 1
  • 19
  • 24
1
vote
1 answer

HTTP request not responding

Possible Duplicate: Adjusting HttpWebRequest Connection Timeout in C# In my code, I am calling a live chat api to get list of operators in the following format: HttpWebRequest request = WebRequest.Create("url-here") as…
user1165815
  • 305
  • 2
  • 6
  • 21
1
vote
3 answers

Is the order of webrequest Headers important?

I'm making a POST request to upload a picture to a website. In the page, there is one FileUpload and one input (textBox) and in fiddler I found out that the page is sending some data using Multipart Post request mode (Content Disposition:…
Dr TJ
  • 3,241
  • 2
  • 35
  • 51
1
vote
3 answers

How to send a HTTP Post request from my android project to google app engine?

I am working on an android project. I am new in android programming. How can i send a HTTP post request from my project to google app engine? I searched and found this code for sending request from android but its not working. Following is the code…
Piscean
  • 3,069
  • 12
  • 47
  • 96
1
vote
1 answer

Uploading Image from gallery to remote server (Titanium-android)

I am developing android application using titanium and in my application I need to upload image from gallery to remote server location.I already tried this button1.addEventListener('click',function(e) { Titanium.Media.openPhotoGallery({ …
nilkash
  • 7,408
  • 32
  • 99
  • 176
1
vote
1 answer

Insert event to Google Calendar using php

I'm trying to perform a cURL request to google calendar api using their guide, that says: POST https://www.googleapis.com/calendar/v3/calendars/{name_of_my_calendar}/events?sendNotifications=true&pp=1&key={YOUR_API_KEY} Content-Type: …
Gustav
  • 1,361
  • 1
  • 12
  • 24
1
vote
3 answers

When is a JavaScript small enough to be worth inlining (for best performance)?

Let's say I'm building a static 10-page website for a client, and there's only a few lines of JavaScript for the whole site (less than 1KB). In this situation I'd guess that it's best (for performance) to put the <1KB of JavaScript code inline…
callum
  • 34,206
  • 35
  • 106
  • 163
1
vote
1 answer

GWT RequestBuilder set client Date to HTTP Date POST header

I'm using GWT RPC to communicate between client and server. I want to be able to read the browser's date on the server side, and for that I'm using setRpcRequestBuilder from the class ServiceDefTarget to costumize my request, and add the header I…
Nuno Gonçalves
  • 6,202
  • 7
  • 46
  • 66
0
votes
1 answer

Using Python Requests library

Hey all you loved peoples, I have another one for you. I'm using django, requests, and google checkout. I am at the point of sending xml to Google checkout right. All is well EXCEPT. Using the requests library I am getting some content that I don't…
Jesus is Lord
  • 59
  • 1
  • 7
0
votes
1 answer

Getting query-string after two consecutive HttpGET

in my android application I execute an HTTP GET using this url: http://www.atm-mi.it/it/Giromilano/Pagine/default.aspx?s_place_hd=milano&e_place_hd=milano&s_add_hd=via%20dante%201&e_add_hd=corso%20sempione%2014 but the request is redirect to this…
Tunarock
  • 127
  • 1
  • 1
  • 12