Democracia en Red is focusing on specific implementations of DemocracyOS. We are working now working with governments and activists all over Latin America. If you are interested in our online participation tools you can check them out on our site.
Crsf key in rest client of all POST/PUT/DELETE requests
A fetch wrapper (located at client/utils/fetch-wrapper) to add csrf key and credentials to all the fetchs that need it.
You must import fetchWrapper and then pass it an url and an options object (header and body included). It will return a response or error object.
Please check with care 🌈
This PR adds
client/utils/fetch-wrapper
) to add csrf key and credentials to all the fetchs that need it. You must import fetchWrapper and then pass it an url and an options object (header and body included). It will return a response or error object. Please check with care 🌈