I've built a custom database that I would like to populate with some of my UP3 data. I've successfully authenticated and received the JSON response with my Bearer token. From here, I'm sort of lost.
From the documentations, I need to send a GET request to
https://jawbone.com/nudge/api/v.1.1/users/@me
Each time I do, I get:
No 'Access-Control-Allow-Origin' header is present on the requested resource
I've added:
header('Access-Control-Allow-Origin: http://example.com');
(replacing example.com with my domain)
to the page that is sending the GET request. Any thoughts?