Search code examples
phprestler

How do I accept arbitrary query parameters in a Restler GET request?


I have a basic CRUD endpoint, and I want to be able to search by arbitrary fields in my database. Is there a way to allow this without specifying every possible filter in the method signature?


Solution

  • I ended up solving this by using the built in $_GET[] super global.