Parameters in Request URl


#1

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?


#2

Using php, something like

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

and you use $token as you want


#3

Hey @gdp,

We’ve got some IoT resources for you here:

Thanks,
@AlexBowen