ekuiper icon indicating copy to clipboard operation
ekuiper copied to clipboard

Ekuiper delete and update external services not working

Open nbenhur opened this issue 6 months ago • 2 comments

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. Screenshot from 2024-07-30 18-02-36 Screenshot from 2024-07-30 18-03-44 Screenshot from 2024-07-30 18-04-41

nbenhur avatar Jul 30 '24 12:07 nbenhur