Fork me on GitHub
#luminus
<
2020-10-17
>
zclj09:10:47

If I do testing with luminus, as per the example in https://luminusweb.com/docs/testing.html, and I test a POST end-point, the POST will require a csrf token, as it should. What is the preferred way of getting this in a test scenario? I could get it from the initial page, as in a production scenario, but is there a more straight forward way I'm missing?