Questions tagged [httprequest]

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:

7773 questions
2
votes
1 answer

How do we model send HTTP request in UML activity diagrams

I have two questions about using Send and Receive signals in UML activity diagrams. Diagrams for two possible approaches I could think of: I usually see send and receive signals in tandem. But what if the send signal fails? Can we split the send…
2
votes
1 answer

Paypal Sandbox Vault: C# The operation has timed out (HTTP request timeout was set to 30000ms)

How do I change the timeout period for a PayPal Vault transaction? Sometimes it works and other times I keep getting this timeout error even though I'm changing credit card numbers. I'm using VS 2013 and C#. I've seen a reference to…
Velocedge
  • 1,222
  • 1
  • 11
  • 35
2
votes
0 answers

Does HHVM Proxygen support the HTTP Patch method?

Our application runs on a hhvm/proxygen docker container. When we try to use the http patch method we always get a "Bad Request 400" response. Do I need a special configuration to use patch on hhvm/proxygen? The php application is based on Lumen…
dschniepp
  • 1,083
  • 12
  • 19
2
votes
2 answers

HttpRequest's parameters default encoding in Java (Tomcat)

My Tomcat web server is using Struts framework (v1). When reading request parameters, i need to recode the parameter from ISO-8859-1 to UTF-8 in order to get proper value. e.g. String fName = request.getParameter("fName"); String displayName = new…
itamar
  • 1,800
  • 4
  • 17
  • 30
2
votes
1 answer

How can i construct multiple HTTP requests in Swift?

I'm quite new to Swift and programming altogether. I am very keen on learning all the right ways. So any additional tips or remarks are always appreciated. I'm doing a HTTP request to an api and that works fine. The problem is that it's limited to…
FredFlinstone
  • 896
  • 11
  • 16
2
votes
2 answers

Get back the value of a HTTP Request in Angular JS

I try to create a function which makes a HTTP Request in Javascript and to get the result of this request. Unfortunately, I absolutely don't know how to get back this result in an other function.. Find here both of my function (both should do the…
NayMak
  • 160
  • 1
  • 16
2
votes
1 answer

node.js https POST with body-attributes - HOW?

I am trying to get a Token with my node.js server. The code below gets executed when someone calls the REST-API of my server (within the processing of this call the server makes several calls himself). The following configuration works in…
IntegerWolf
  • 1,232
  • 1
  • 11
  • 21
2
votes
1 answer

Reading parameters from request body

I have following request body. BODY:…
Hasanthi
  • 1,251
  • 3
  • 14
  • 30
2
votes
1 answer

How can I read the response from the http post object in android

I have created an android app in which I had made the http request here I want to know how can I read the response from the server and show error and success message after returning string builder: try{ HttpResponse httpResponse…
Moulick
  • 45
  • 5
2
votes
1 answer

asp.net OWIN save the JSON post data

I have the setup a test command line app using self hosting OWIN. I have one test controller and this works as expected to deliver a static home page plus two values in JSON format on a get request. I'm using the JsonFormatter to format all…
Matthew
  • 497
  • 1
  • 5
  • 16
2
votes
1 answer

Sending HTTP request

I am trying to upload data from an Arduino to data.sparkfun.com, but somehow it always fails. To make sure that the HTTP request I am sending is correct, I would like to send it from a computer to the server and see if it uploads the correct…
DK2AX
  • 265
  • 5
  • 16
2
votes
1 answer

Google Geocoding API request_denied

I am trying to geocode a batch of around 400 addresses using the Google Geocoding API through my rails app. In one of my controllers I have these lines require "net/http" require "uri" uri =…
dpieri
  • 166
  • 1
  • 2
  • 12
2
votes
1 answer

How to wait for guzzle request to be completed while doing something else during waiting?

I want to do something in a loop while a guzzle request is going on and then just continue the script when the request ends, for example I want to do something like this : $client = new \GuzzleHttp\Client(); $promise =…
r3zaxd1
  • 697
  • 9
  • 17
2
votes
1 answer

Is ValueStack container thread-safe?

Action classes are thread-safe since Struts filter creates new action object for each request. All the action objects along with variables will be stored in ValueStack. So, Is the ValueStack container thread-safe? Could we able to take values form…
2
votes
2 answers

Request a GET failed in Node

I am requesting a GET to a 3rd party api service from my node back-end. I am getting a response of 403…
itaied
  • 6,827
  • 13
  • 51
  • 86