IBM / ibm-cloud-functions-rest-api-trigger

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.
Apache License 2.0
17 stars 8 forks source link

Space before application #23

Open kwiatks opened 6 years ago

kwiatks commented 6 years ago

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 }

krook commented 6 years ago

I wasn't able to replicate this @kwiatks (and sorry for the delayed reply).

Still an issue for you?