After get stuckec for more than once, and having seen various stackoverflow and web questions for "URL not found".. and various type of errors, it is worth take note of the following:
In Windows prompt it is daunting due to quote within quote. I tried this out and work:
1. The original post in IBM web site/cloud has two versions,
--data '{"text": "hello world"}', another one is
--data "{\"text\":\"hello world\"}'
(ie. if you use only double quote within double quote, you must use \, and also no space after :)
2. if you use the second way, you can't have space after colon:
So better always delete the space for safe.
3. Both of the following works:
4. It seems no need to quote the http string...