0
[SOLVED] How to send a form to a address in JavaScript?
I tried to send a text to port 8080 on my machine from a webpage created by me, but I can't seem to figure out how... I'm using 'nc -l -p 8080', thanks to anyone who can provide a syntax...
3 Respuestas
+ 3
in the form tag in the action attribute write the address you want to send the request to example:
<form action=“form.js” method=“post”>.....</form>
0
Thanks a lot, managed to do it with PHP!
0
You can achieve this by using post method you need mention it into your form.
<form action="/", method="post"> </form>
After that drive it using js in your root file like app.js