Trying to access my photon with cloud API


As a start to getting in to using the cloud API I’m trying to get my photon device information using this:

via a chrome extension called ‘Postman’ that allows me to use POST.

My device ID= zeros
My access token = fours
I got these from the ‘settings’ and ‘devices’ tabs at my

I get this:

  "ok": false,
  "error": "Not Found",
  "device_name": "turtle hoosier station raptor ninja"

Can anyone tell me what I’m doing wrong? Is it because I’m not using ‘curl’? As I’m aware I just need something that has post functionality…

Thanks in advance.

With POST you want to trigger a function I guess.
So you’d need to alter your address like this<functionName>

Set the content type to x-www-form-urlencoded

and add your access_token and data fields in the key-value-pairs.