Skip to content
This repository has been archived by the owner on Feb 10, 2021. It is now read-only.

API urls - support both with/without trailing slashes #87

Open
rlskoeser opened this issue Dec 27, 2016 · 1 comment
Open

API urls - support both with/without trailing slashes #87

rlskoeser opened this issue Dec 27, 2016 · 1 comment

Comments

@rlskoeser
Copy link

Consider supporting API endpoints with and without trailing slashes (e.g., via redirect from whichever is considered the non-canonical version of a given API url). This would make it easier and less error prone for people experimenting with the API.

@rlskoeser
Copy link
Author

The trailing slashes could possibly account for some of the unexpected 200 OK empty responses I got when experimenting with the API. I don't know if your xqm code would interpret the trailing slash as an empty identifier in some cases or just ignore it entirely.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant