With Express, how do I send a JS function to the client then have the client execute the JavaScript I sent?
Let’s say Johnny sends a post request to my endpoint, I want the response to be a script that will execute on Johnny’s browser. How do I do that with express?
No comments:
Post a Comment