# HG changeset patch # User Ollivier Robert # Date 1491834038 -7200 # Node ID a0d3e7265cd23a031dd3cf619a8e9ed93faca8ba # Parent b3c341207b30f8a87907e2cb66f0fd3f48570794 The API endpoint does not need the trailing "/". diff -r b3c341207b30 -r a0d3e7265cd2 gondole.go --- a/gondole.go Mon Apr 10 16:20:02 2017 +0200 +++ b/gondole.go Mon Apr 10 16:20:38 2017 +0200 @@ -20,7 +20,7 @@ // prepareRequest insert all pre-defined stuff func (g *Gondole) prepareRequest(what string) (req rest.Request) { - endPoint := APIEndpoint + fmt.Sprintf("/%s/", what) + endPoint := APIEndpoint + fmt.Sprintf("/%s", what) // Add at least one option, the APIkey if present hdrs := make(map[string]string)