I want to simulate a request of the form curl -d "param = value" "http://ip:port?key1=value1&key2=value2"
using the REST API Testing, but unfortunately I do not know how. More details about the -d
flag can be found here.
If I use POST
for the method type then I get a 405
error and if I use GET
for the method type then I get a 404
error. From the command line the command works perfectly and I am able to receive the answer, but I do not know how to adjust the snippet -d "param = value"
in a HTTP request.
I really appreciate any kind of help !!!