flowjs/flow-php-server

[Question] How to read additional query parameters server side

npx opened this issue · 2 comments

npx commented

Hey there,

and thank you for the great work on this library.

This issue can be deleted. In case someone else is wondering, in Laravel 5 the standard Request::input('parametername') does the trick.

Cheers

I would like to know how we could read the query values on the serverside if we are using jus plain PHP.

You can set it with query in the config

var flow = new Flow({
    /** Other settings */
    query: { '_token' : '{{ csrf_token() }}', 'greeting' : 'hello' } /* Add your additional params to pass here */
});