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

How to show the "A potentially dangerous Request.Form value was detected" view error

I am coding a MVC 5 view, and have a question in regards to detecting a HttpRequestValidationException. Here is the controller code: public async Task TestView() { return View(); } [HttpPost] [ValidateAntiForgeryToken] public…
Simon
  • 7,991
  • 21
  • 83
  • 163
-1
votes
1 answer

How to send HttpRequest(string) and then Receive answer in C#

I need to implement an application to post string like HttpRequest to specify IP address and then receive answer in httpRespons form. Here is code for sending WebRequest request = WebRequest.Create("http://192.168.1.10"); request.Method =…
MarekD
  • 1
-1
votes
3 answers

amp; prefix to $_POST/$_GET keys

One of my end users is quering my web service (written in php) but the request is all mest up. All the $_POST/$_GET array keys except the first one got amp; prefix. I understand that something is escaping the http quesy string and transforming the &…
Daniel
  • 2,288
  • 1
  • 14
  • 22
-1
votes
1 answer

Java HTTP-Request with POST-Data

I wrote the following code in java to send some data via POST-Variables to a PHP-File of my website and then I want to get the source code of this website. public DatabaseRequest(String url, IDatabaseCallback db_cb) { …
Tobias Baumeister
  • 2,107
  • 3
  • 21
  • 36
-1
votes
1 answer

HTTP request - Ruby on Rails

I took over someone else's Rails project and I have a question about HTTP requests. It SEEMS that I should be able to pass parameters through HTTP requests, I'm just unsure how. For example: rake routes shows PUT /auction2s/:id(.:format) …
Tommy Nicholas
  • 1,133
  • 5
  • 20
  • 31
-1
votes
1 answer

Loading multiple css files

I am noticing a sudden INCREDIBLY slow load time on my site. Unfortunately my developer is unreachable at the moment and I was wondering if anyone had recommendations on how to solve this problem. I have probably pulled the CSS and jQuery into the…
user2469399
  • 19
  • 1
  • 5
-1
votes
2 answers

http-request from Button VS from Class

i got a class i made, that makes a simple GET request and displays toast messege with the response... if i call the function from a bottom event click it displays the messege with the data returned, just ok. but if i call the same function from a…
itai
  • 302
  • 5
  • 15
-1
votes
2 answers

Sencha touch store and proxy problems

Like always I try to do this for my own, I read the documentation of sencha touch 2 for using stores but I can't make what I want, I need to make a quick application that can help me to stand how work the stores and proxy into sencha touch, and them…
Alexis Duran
  • 620
  • 14
  • 28
-2
votes
1 answer

How to send http request using textView elements

Hello I am creating an android app where i want to know how to send http request using textView elements . I have created a for whose summery has been displayed in another activity on textView which is non editable. I have edited the following code…
Moulick
  • 45
  • 5
-2
votes
3 answers

HTTP request library for android

I'm looking for a good HTTP library for my android app. I've been using AsyncHTTP by loopj (and I've only ever used that), but it's making my app crash when the network connection is lost. Also, it doesn't meet my requirements well. So far, I've…
Shashwat Black
  • 992
  • 5
  • 13
  • 24
1 2 3
23
24