236
Views
3
Comments
[ardoHTTP] how to set timeout for http requests in ardoHttp
Question
ardohttp
Service icon
Forge asset by João Barata

Any suggestions?

2014-02-13 10-06-38
Ricardo Silva

You should be able to use a header to define the timeout. If you read the documentation for the Headers parameters there are a few special headers which control the behavior of the request.

2014-02-13 10-06-38
Ricardo Silva

Also, nowadays you should probably be using the platform's builtin rest functionality to make HTTP requests, not ardoHTTP.

2020-09-14 20-23-58
Goldy Lukka

Ricardo Silva wrote:

Also, nowadays you should probably be using the platform's builtin rest functionality to make HTTP requests, not ardoHTTP.

For some strange reasons, some destinations (publisher) keeps rejecting the requests arising out of inbuilt REST action, however, that is not the case with ardoHTTP.

Interesting to note that, when you are TESTing the Consume Single Method while importing REST service, it works fine. Is it probably because outsystems cloud is having some outgoing settings conflicting (for REST inbuilt API consumer)? Because when we TEST, the request goes from local network and not through outsystems cloud.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.