pillarjs / understanding-csrf

What are CSRF tokens and how do they work?
1.4k stars 120 forks source link

How to pass csrf token to client which use httpclient to call the restful api #23

Open wushuaizaiza opened 2 years ago

wushuaizaiza commented 2 years ago

services is SPA application and implement csrf token, the client is use httpclient to send post request, just want to know if have some good suggestion to send csrf token to httpclient