Adjust current implementation to accomodate content-type and test to check it
This commit is contained in:
@@ -6,5 +6,5 @@ import (
|
||||
|
||||
func RemoveRoute(host, id string) error {
|
||||
url := host + "/routes/" + id
|
||||
return http.Delete(url, nil, nil)
|
||||
return http.Delete(url, "application/json", nil, nil)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user