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

Received 403 CSRF verification failed when logging through python requests

I use Pinax, and I am trying to perform login test on account project, using requests module. I did this def test001_login(self): #cookies = {'csrftoken': 'a8356fd05b25fad7004994fd5da89596'} r = requests.post(self.loginurl,…
CppLearner
  • 16,273
  • 32
  • 108
  • 163
0
votes
3 answers

Android http-request causes Error - sitting since 3 days

I am sitting since 3 days, looking everywhere on net but it dosnt work ... every time I try to make a http-request on android: it comes the error: unfourtunately, ... has stopped. here my code: package sd.s; import java.io.IOException; import…
Johnny
  • 1
  • 1
0
votes
1 answer

indentify url to send http commands from code

i'm having an weird problem, my project have a login page, that's working, but i have to use this login page using http shell commands like: curl -v http://google.com/ My problem is, how can i identify the URL to send the request from the source…
guisantogui
  • 4,017
  • 9
  • 49
  • 93
0
votes
2 answers

Browser Intent with User-Agent

I'm trying to open the Android browser through a Intent with a custom User-Agent (cause the client website redirects to the mobile page) as far as I got is: Intent i = new Intent(Intent.ACTION_VIEW); …
Marcos Vasconcelos
  • 18,136
  • 30
  • 106
  • 167
0
votes
1 answer

How to send request from different static IP address to a any website?

I am sending HTTP request using C#. (http://codesamplez.com/programming/http-request-c-sharp) I have dedicated server on.I have purchased more static IPs. How can I send request using these different IPs.
SOF User
  • 7,590
  • 22
  • 75
  • 121
0
votes
2 answers

Python Requests module ends up with strange redirection

Making a GET request with the python module Requests ends up with strange url: >>> import requests >>> r = requests.get("http://t.co/Uspy071j") >>> print…
0
votes
1 answer

ASP .NET MVC 3 + Handling an HTTP request reception event

I have just started developing a full-web application by using the ASP .NET MVC 3 framework. I am a MVC 3 beginner developper. I need a way to implement the following logic : When my application receives an HTTP request from a browser I want to…
user1139666
  • 1,687
  • 4
  • 24
  • 45
0
votes
1 answer

Server locale xmlhttp requests recognised as wrong language by remote servers?

I have a web server hosted with 1and1 which evidently is hosted in Germany, so if I try to do a xmlhttp get on data from google or facebook I am presented with German return data as their site presumes I am a German user. Does anyone know if it is a…
Chris Dowdeswell
  • 858
  • 2
  • 11
  • 25
0
votes
1 answer

How to send login request in python?

i am trying this python script: import httplib import urllib conn = httplib.HTTPConnection("moodle.tau.ac.il") conn.request("POST" , "/hu11/?lang=en_utf8&username=bugs&password=bunny" ) response = conn.getresponse() print response.status,…
0x90
  • 39,472
  • 36
  • 165
  • 245
0
votes
1 answer

Facing issue in HTTP module of Chilkat Library

I am using Chilkat Library for making Http request. And Now I facing one issue that page response is most of time is null. Even page has data and that is not expired domain. I have set MaxResponseSize to 0 but still the problem is same. Please…
Pankaj Mishra
  • 20,197
  • 16
  • 66
  • 103
0
votes
2 answers

Get parameter with the character '#' from a query string on java

I am trying to get a request string that has the character # and my parameter is got only until the #. But the thing is that I need to have this character, can't remove it. Any idea?
banduk
  • 107
  • 1
  • 7
0
votes
2 answers

How can a HTTP request be instantiated with a different host?

Strange one here folks. I'm studiying a web application's inner workings using Fiddler and have become a bit stumped. I'm requesting /account via the browser and Fiddler shows in the "Host" column website.local as expected since this is the URL the…
m.edmondson
  • 30,382
  • 27
  • 123
  • 206
0
votes
2 answers

how to implent cookie-free domain or request?

hello im trying to implant something like static.domain.com where we can put our image without cookie. but the problem is that im serving my image via php. like this public function getIMG( $img ) { if ( ! file_exists( "www-static". DS…
Adam Ramadhan
  • 22,712
  • 28
  • 84
  • 124
0
votes
1 answer

Android: Why is HttpPost request not going through proxy?

I've set up a new Access Point on my emulator so that I can view traffic in Fiddler by following the instructions here: http://aurir.wordpress.com/2010/03/22/tutorial-getting-android-emulator-working-with-fiddler-http-proxy-tool/ This works for the…
Rob Stevenson-Leggett
  • 35,279
  • 21
  • 87
  • 141
0
votes
1 answer

How to make a HTTPS GET request with headers with unsigned Certificate Swift 3?

I'm trying to make a https request to my website api and I'm been working on it for 2days but didn't find a solution to all my needs (it's in iOS 10). My https certificate is unsigned (https://api.example.de/v1/something) with a token as…
Abed Naseri
  • 512
  • 2
  • 10
  • 18