Don't set Content-Type to application/json in query without body

This commit is contained in:
pancho horrillo
2019-10-03 22:47:43 +02:00
parent 604569c7a3
commit df96d322fc
+1 -1
View File
@@ -9,5 +9,5 @@ import (
// ListRoutes list the routes registered on the kapow! instance
func ListRoutes(host string, w io.Writer) error {
url := host + "/routes/"
return http.Get(url, "application/json", nil, w)
return http.Get(url, "", nil, w)
}