marcoschwartz / aREST

A RESTful environment for Arduino
http://aREST.io/
Other
1.2k stars 279 forks source link

sending more than one parameter for function #273

Closed OmiD-K closed 4 years ago

OmiD-K commented 4 years ago

Hi I want to send more than one parameter for my functions. Is it possible?

marcoschwartz commented 4 years ago

Hello, indeed this is possible by using commas:

?params=foo,bar

ONLYstcm commented 4 years ago

When I pass a function with more than one argument in rest.function, I get the following error message: invalid conversion from int ()(String, String)' to 'int ()(String)' [-fpermissive], so do we specify a function with more than one argument?