Skip to content

Commit 2c97c3c

Browse files
committed
not implemented response
1 parent 5427d46 commit 2c97c3c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cns/restserver/api.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1349,8 +1349,10 @@ func (service *HTTPRestService) ibDevicesHandler(w http.ResponseWriter, r *http.
13491349
switch r.Method {
13501350
case http.MethodPost:
13511351
// TODO: Implement POST
1352+
http.Error(w, "POST method not yet implemented", http.StatusNotImplemented)
13521353
case http.MethodGet:
13531354
// TODO: Implement GET
1355+
http.Error(w, "GET method not yet implemented", http.StatusNotImplemented)
13541356
default:
13551357
msg := fmt.Sprintf("[%s] Method %s not supported", opName, r.Method)
13561358
http.Error(w, msg, http.StatusMethodNotAllowed)

0 commit comments

Comments
 (0)