I want to retrieve JSON data from my electricity supplier, they have an API which I have a API_Key for but the examples they give are using the CURL tool at the CMD prompt, something I can't get my head around.
In some of my previous amateur apps I have issued a browser request which then returns the JSON data which I can work on but I don't know how I would convert their example to a simple HTTPS:// request
1) Please start using code tags (either through editor or by using [code][/code] tags)
2) In the first example, you are using JobDone (not cool anymore). The second case, you are using Wait For (the new, correct way). With Wait For, your parsing code needs to go
B4X:
If job.Success = True Then
Log(job.GetString)
Else
Log(job.ErrorMessage)
End If