Http Agent Issue

Hopefully someone can help. I cant seem to get my http agent working:

http.agenturl()

results in the error the index ‘http’ does not exist

Can anyone tell me where I might be going wrong?

http.agenturl() works in agent code but not in device code

The new docs actually say whether calls can be made from the agent, the device, or both. It’s the “Availability” right under the function name :slight_smile:

http://electricimp.com/docs/api/http/agenturl/

Thanks, who reads the documentation :slight_smile: