Add API version to URLs

This commit is contained in:
Soam Vasani
2016-09-29 21:41:52 -07:00
parent 3177c035c6
commit 012a8de1ec
2 changed files with 16 additions and 16 deletions
+1 -1
View File
@@ -74,7 +74,7 @@ func (c *Client) put(relativeUrl string, contentType string, body []byte) (*http
}
func (c *Client) url(relativeUrl string) string {
return c.Url + "/" + relativeUrl
return c.Url + "/v1/" + relativeUrl
}
func (c *Client) handleResponse(resp *http.Response) ([]byte, error) {