Skip to content

Invalid URL in doc examples #303

@jaroslavtyc

Description

@jaroslavtyc

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions