how to verify signed url when submiting as post via vuejs?

Multi tool use
Multi tool use


I am using laravels signedRoutes and I have signed a route on the server and now I need to submit this route again to the server but from the client which is in javascript. Below code is what I have before I send it to the server.



When I recieve this post request on the server I do



"we cool!" does not print for me, which means Laravel has problem to verify the valid signature when sent as a post.



I also tried attaching like this



where



but laravel still fails to verify that signature is valid, which it is, since it works over simple route like this



but as soon as I go to post



it fails.



I need to use the post, since I must send password in the post and I do not wish to send it via get request.



Edit:



signedUrl



route



inside vue file:



computed property



make a post call to server:



url that gets generated:



original url that user sees in the email is:



notice how 8? gets turned into 8%3 and same for rest of the special charcters.



If you are wondering what I am trying to do.



After user recieves the email and clicks the generated link to verify account I want them also to set their own password, first after the choose the password and press Activate will I from vuejs client make post request to server with password and also I again try to send the signed url stuff to server. I need to do this before I save the password and activate the user.



However I still fail to get it to work. Any more ideas?



enter image description here



The parameters of the post route need to include the ones you used when creating the signed route, in your case it looks like it was created as:



So the route is expecting a testing parameter, as in:



Try changing the signed url to:






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

dkVJK4r5SQgmbMwYY4BEwI,nwC1FwU43XvKVIKAu85c2Q
FdODeUSX

Popular posts from this blog

The Dalles, Oregon

영화 미래의 미라이 다시보기 (2018) 다운로드 링크 무료보기

Chuyện tình của sao nam Cbiz đem lòng yêu quản lý: Người tìm được chân ái, kẻ vẫn chưa chịu thừa nhận