Execute requests from your script, via the browser. It is useful for testing and debugging.
It might not be the best solution, but works well enough.
- Copy the script from
hook.js
and paste it into your browser's console. - Start the
server.js
script. - Execute your script.
- Send request to
/send/:data
where:data
is a base64 encoded string of a JSON object.
You can also use the run.py
script to test this out.