ekuiper
ekuiper copied to clipboard
Ekuiper delete and update external services not working
I am following the link https://ekuiper.org/docs/en/latest/api/restapi/services.html for registering the external service in edgex ekuiper running in docker environment. I successfully registered external service using command
POST http://localhost:59720/services Please enter content (application/x-www-form-urlencoded) to be POSTed: { "name":"tsschemaless", "file":"http://192.168.29.74/downloads/tsschemaless.zip" }
Now i wanted to update tsschemaless.zip file. I used below command
PUT http://localhost:59720/services { "name":"tsschemaless", "file":"http://192.168.29.74/downloads/tsschemaless.zip" }
which gives me below error PUT: command not found name:tsschemaless,: command not found bash: file:http://192.168.29.74/downloads/tsschemaless.zip: No such file or directory
I tried to delete existing service. so i used below command DELETE http://localhost:9081/services/tsschemaless
I am getting the error "DELETE: command not found" DELETE http://localhost:9081/services/tsschemaless
Please help to solve these errors of PUT and DELETE. Attached the screen shorts.