Parameters in Request URl

Hi,

I am new using dreamfactory. I want to post data from my IoT devices. What i want is checking in a pre-process my token thing ( alphanumeric string unique for each device ) before make the post data.

I was thinking in make an url like this:POST /my_service/data/{{my_token}}

How can i do it?

1 Like

Using php, something like

list($data,$token) = explode ("/",$event['resource']);

and you use $token as you want

1 Like

Hey @gdp,

We’ve got some IoT resources for you here:

Thanks,
@AlexBowen