Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid URL in doc examples #303

Open
jaroslavtyc opened this issue Sep 9, 2024 · 0 comments
Open

Invalid URL in doc examples #303

jaroslavtyc opened this issue Sep 9, 2024 · 0 comments

Comments

@jaroslavtyc
Copy link

In the API versioning description page https://dev.mailjet.com/email/reference/overview/versioning/ (not part of this repo 📝 ) there are invalid URLs with uppercase version letters

I have copied those versions to my project and spent an hour to find out what is going on - server responses 404

  • 404 because of uppercase V3 in URL
curl -I --request GET \
  --url https://api.mailjet.com/V3/REST/contactslist \
  --header "Accept: application/json"
HTTP/2 404 
date: Mon, 09 Sep 2024 11:11:31 GMT
content-type: text/html
content-length: 162
  • proper 401 with lowercase v3 in URL
curl -I --request GET \
  --url https://api.mailjet.com/v3/REST/contactslist \
  --header "Accept: application/json"
HTTP/2 401 
date: Mon, 09 Sep 2024 11:12:12 GMT
content-type: text/html
www-authenticate: Basic realm="Provide an apiKey and secretKey"

Please manage the https://dev.mailjet.com/email/reference/overview/versioning/ to list valid URLs. Thank you.

Note: docs in this PHP repository are fine, all examples (I saw) have valid URLs. It is only about the generic docs.

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

No branches or pull requests

1 participant