Adding query parameters to Export URL

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
stephen21345
User
Posts: 44

Adding query parameters to Export URL

Post by stephen21345 »

Hi

I am adding another Export Icon to export CSV, but adding a query parameter &do_stuff=1 so that if this is set then I can change the output from Row_Rendered. However adding this to the url http://localhost/projectname/api/export/csv/my_tablename&dostuff=1 will result in a 401 Unauthorized. How can I allow the URL to work with my query parameters added so I can manipulate the export as required.

Regards
Stephen


arbei
User
Posts: 9384

Post by arbei »

Note that the original URL does not have query string, if you want to add query string, you should use "?", not "&".


stephen21345
User
Posts: 44

Post by stephen21345 »

Yep thats it. Thanks


Post Reply