Not safe for production use 🐟
Include html and code in request params. Your code will have access to $ (jquery) and should populate the result hash.
GET http://localhost:5000/?html=<h1>wut</h1>&code=result['sup']=$('h1').text()
returns the following JSON:
{
"error": null,
"result": {
"sup": "wut"
}
}- Figure out how to sandbox nodejs eval if possible.
