I'd like to develop an app based on Weather sample provided by the SDK. Weather sample works perfectly.
I'd like to request JSON data from an API like this:
https://api.import.io/store/data/408cfc3b-6ee2-4dea-a2e1-5d4565dad9be/_query?input/webpage/url=http%3A%2F%2Fwww.seha-liga.com%2Frezultati&_user=0af09f30-a925-4df2-a731-fd833c9cce0b&_apikey=0af09f30-a925-4df2-a731-fd833c9cce0b%3AquluZh44DJkSWH5dMGNQpxZxQJWsE%2Fhp1%2B8%2B0M%2BBPBwLsQ9OtXbrqn%2FpDaMbSNQJWIXqvBoDWY%2FlDqzgmsb56w%3D%3D
If you click on the link above, it works in browser.
Anything I try by sending Toybox.Communications features I get 404 as response code. I tried everything, adding the whole URL as request string (see bellow), or with params defined as dictionary in different ways, but could not figure out.
Comm.makeJsonRequest(
"api.import.io/.../_query,
{},
{},
method(:onReceive));
Would you be so king to help me to solve this? Thanks in advance!