Thursday, 4 April 2019

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?

Submitted April 04, 2019 at 09:04PM by HellD

No comments:

Post a Comment