IBM Cloud Functions building block - HTTP REST Trigger - This project provides a starting point for handling events from REST API calls with IBM Cloud Functions powered by Apache OpenWhisk.
Incorrect space just before word "Content-Type: application"
curl -X POST -H 'Content-Type: application/json' -d "name=Ginger&color=red" https://s
ervice.us.apiconnect.ibmcloud.com/gws/apigateway/api/bfe602b469c50244e4f768df44f208db5dac4641b676002a8ead91c733411586/v1/cat
curl: (6) Could not resolve host: application
{
"id": 1
}
Incorrect space just before word "Content-Type: application" curl -X POST -H 'Content-Type: application/json' -d "name=Ginger&color=red" https://s ervice.us.apiconnect.ibmcloud.com/gws/apigateway/api/bfe602b469c50244e4f768df44f208db5dac4641b676002a8ead91c733411586/v1/cat curl: (6) Could not resolve host: application { "id": 1 }
curl -X POST -H 'Content-Type:application/json' -d "name=Ginger&color=red" https://service.us.apiconnect.ibmcloud.com/gws/apigateway/api/bfe602b469c50244e4f768df44f208db5dac4641b676002a8ead91c733411586/v1/cat { "id": 1 }