barryvdh / laravel-dompdf

A DOMPDF Wrapper for Laravel
MIT License
6.62k stars 965 forks source link

GET method error, Supported: POST method only #963

Closed LowellTebrero closed 1 year ago

LowellTebrero commented 1 year ago

I converted html to pdf view, then I tried to open the pdf view and it render exactly, but if I refresh thr page of pdf view, I got an error says Get method is not supported (etc.,) supported POST Method only, even if I use get method in route for pdf view.

I tried to checked in the network: First method is POST 👍 But when I refresh the page Second method is GET 👎

parallels999 commented 1 year ago

https://github.com/barryvdh/laravel-dompdf/blob/424a223ce80e7afc8bfb6e84449679efe272fbb5/.github/ISSUE_TEMPLATE/bug_report.md?plain=1#L10-L12

This is just a Dompdf wrapper! I understand that this package is just a Laravel wrapper for https://github.com/dompdf/dompdf Any issues with PDF rendering, CSS that is not applied correctly, aligning/fonts/characters etc that are not directly related to this package, should be reported there. When having doubts, please try to reproduce the issue with just dompdf. If it's also present there, do not open an issue here please.

LowellTebrero commented 1 year ago

Thank you sir, I already solve the issue, other browser not support resubmitting Post Method that's why it's getting error . I tried in chrome and brave luckily it supports resubmitting by post route, but in firefox its getting an error, i dont know.