lundi 31 octobre 2016

Laravel 5 make the routes know that I am an sending Authorized request

I am stucked with this problem for a few days. I am making a request from a function inside a controller using the snappy library to convert a part of the page to pdf. My plan is this:

Use this $snappy->getOutput('http://ift.tt/2esKIzV'); to take a screenshot of the page and convert it to pdf but whenever i use this it's taking a screenshot of the login page. - even if it is not good for the app i tried to exclude that routes from CSRF verification but still login page is showing on the generated pdf :(

Your suggestions will be very much appriciated. Thank you in advance!



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire