POST authorized requests to endpoint of the Kirby panel?


#1

Hello!

I want to debug a Kirby POST route and I’m using Insomnia (formerly hurl.it). My route is at http://localhost/project/panel/endpoint and when I make the request, the response is the login screen. I know that Kirby uses CSRF tokens to verify requests, but how do I authorize requests from the REST client?

For example, I want to make a POST request to that endpoint with some JSON data in the body. How would I accomplish that with the REST client?

Thanks!