REST API "Unable to connect to the remote server"

Hi everyone,


I am trying to consume an API, but I don't have any response in Outsystems. I've tried it in Postman and it works fine.


The response I get in Outsystems:


The same API in Postman:


The link to the API:

https://servicodados.ibge.gov.br/api/v1/localidades/estados/{UF}/municipios


And the value tested is 33




Hi,

tried to use your API & it took 21 seconds on Postman & browser too.

The error you are getting because there's a Request Timeout defined & in REST API; Like in Mobile Application, you can set the value of Server request Time..

because your Server is taking more than expected time seconds thus the Outsystems request is getting Timeout.

Try to bring the response in less than 10 seconds.. atleast


assif_tiger wrote:

Hi,

tried to use your API & it took 21 seconds on Postman & browser too.

The error you are getting because there's a Request Timeout defined & in REST API; Like in Mobile Application, you can set the value of Server request Time..

because your Server is taking more than expected time seconds thus the Outsystems request is getting Timeout.

Try to bring the response in less than 10 seconds.. atleast


Hi Assif,


But isn't the default timeout 100 seconds?


 



I'm having the same problem! :(