Saturday, 29 April 2017

Get data back from server to front-end

Hi I'm building a video uploader and right now I can upload video from my front-end (React.js) to my back-end public folder (Node.js) using POST method (ajax). I was wondering how to now send it back to the front-end and get the videos to play. Thought of doing a GET method route of my back-end, could that work? (Have to say I'm a bit confused on this part since I'm only used to doing HTTP request from front to back...)

Would much appreciate any good advice to point me to the right direction. Thanks!



via kahong

No comments:

Post a Comment