I have some data that i need to POST to the webserver. However I am completely how to do that. Basically I need to send data on button click. What have I tried so far:
- Simple post action from the method
- Tried to mix with Angular
- Tried npm packages request and superagent (couldn’t make them work on click)
Looking for some kind of advice, I am stuck here for a whole day. Thanks :).