I am trying to convert a curl command (post) to a netcat command.
I already figured out how to GET/DELETE things like
curl -v http://localhost:1234/232
in netcat:
nc localhost 1234
GET 232
HOST: localhost
but I dont know how to POST something
For example: I want to save to value 2300 in my path 123
curl -v --data "val=2300" http://localhost:1234/123
and in netcat:
nc localhost 1234
POST 123
HOST: localhost
but where do i write my value?