I'm a bit confused on how I should be implementing a server side ajax request in my application. I am using a vuejs boilerplate project https://github.com/vuejs-templates/webpack . I want to send an ajax request (from node) to my nagios dashboard that feeds me json and send data back to the client side javascript. I would do this all from the client side but I am running into a CORS road block. How do I send the ajax request from server side and pass a var along to the front end?
via Corey Manshack
No comments:
Post a Comment