I have an Apache Cordova SPA mobile application. It has its own resources, but needs to communicate to my hosted node js web app server to make several post requests.
I have attached an example of the server side node js code (In [login to view URL]). I just need to work out how to make a post request to it with a csrf token from Apache Cordova.
For someone who is experienced this should take less than 10 minutes to provide an example. Will be rewarded well for your expertise
Được trao cho:
You mentioned Apache Cordova SPA. What's it specifically built in? Angular, Ionic, Knockout, React ? If you are using any of the frameworks , you can add the token via an http interceptor.