I have tried numerous libraries to make HTTP request from my Business Logic code, however they’ve all ended up giving me different types of errors (namely calls that are designed to be synchronous actually making asynchronous calls and so unable to run on server side Java).
Are there any recommendations for making a simple HTTP GET request from Backendless business logic? Any examples of working code?
Yes, I see but I am now wondering if the API’s I referenced are considered “external hosts”. When I try to add “http://api.forecast.io:443/” as an external host it does not let me enter it.
Okay well I don’t know how I’m supposed to use Backendless business logic if it doesn’t let me access any API’s. The previous BaaS I used did all this fine and there wasn’t even an approval process for every API I wanted to access.
If the former, the hostname must be added to bin/runner.properties file (see the property at the bottom of the file). If the latter, the problem might be related to the host responding with different IP addresses. This is what Denys referred when he said there is an internal ticket.