I have been asked to call a restful api via Unix environment. Is there a bug in my command so i got blow issue?
I have tried looking at the curl --help but the thing that I could find that might help would be the way to pass in param key-pair. Could it be possible to give me an example how to debug such api calling?
$ curl -d param1=xxx¶m2=yyy -X POST https://restful_api_path/lifecycle/v1/resource_node
[1] 10276
[2] 10277
-ksh: -X: not found [No such file or directory]
[2] + Done curl -d param1=xxx¶m2=yyy -X POST https://restful_api_path/lifecycle/v1/resource_node
$ curl: no URL specified!
curl: try 'curl --help' or 'curl --manual' for more information
Cheers
curl -d 'param1=xxx¶m2=yyy'[1] 10276and[2] 10277might signify?