If you use POST as method for your table (because url for get is too long) - the excel export fails
Steps to Reproduce
Add the following line the a table config (tested with vendor/laravel-enso/people/src/app/Tables/Templates/people.json)
"method": "POST",
Change tableData route in vendor/laravel-enso/people/src/routes/api.php from get to post
Open table
Click on Excel Button
Expected behavior
Export is started
Actual behavior
Request fails with status 405
"message": "The POST method is not supported for this route. Supported methods: GET, HEAD, PATCH.",
"exception": "Symfony\Component\HttpKernel\Exception\MethodNotAllowedHttpException",
"file": "/Users/mauthi/coding/Enso/vendor/laravel/framework/src/Illuminate/Routing/AbstractRouteCollection.php",
"line": 117,
This is a bug (related to #176)
Prerequisites
Description
If you use
POST
as method for your table (because url for get is too long) - the excel export failsSteps to Reproduce
vendor/laravel-enso/people/src/app/Tables/Templates/people.json
)"method": "POST",
tableData
route invendor/laravel-enso/people/src/routes/api.php
fromget
topost
Excel
ButtonExpected behavior
Export is started
Actual behavior
Request fails with status 405