How to do n B4A:
curl -X POST -H "Content-Type: application/text" -d "you man" http://ec2-34-244-221-70.eu-west-1.compute.amazonaws.com:5000/ ?
I try j.PostString ("http://ec2-34-244-221-70.eu-west-1.compute.amazonaws.com:5000/", "you man")
but it needs a header. so I try with header
j.Head ("Content-Type: application/text")
But it does not work
Any idea please?
curl -X POST -H "Content-Type: application/text" -d "you man" http://ec2-34-244-221-70.eu-west-1.compute.amazonaws.com:5000/ ?
I try j.PostString ("http://ec2-34-244-221-70.eu-west-1.compute.amazonaws.com:5000/", "you man")
but it needs a header. so I try with header
j.Head ("Content-Type: application/text")
But it does not work