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

fix(api): ensure that endpoint path is versioned #34

Merged
merged 1 commit into from
Aug 19, 2024
Merged

Conversation

matyama
Copy link
Owner

@matyama matyama commented Aug 19, 2024

Bitly API deprecated endpoint paths without specific API version (e.g., https://api-ssl.bitly.com/shorten). By mistake, the API client used to make such requests and got 410 (GONE) responses back.

This PR fixes this issue by correctly constructing an API endpoint URL which includes the API version (e.g,
https://api-ssl.bitly.com/v4/shorten).

Bitly API deprecated endpoint paths without specific API version (e.g.,
`https://api-ssl.bitly.com/shorten`). By mistake, the API client used to
make such requests and got 410 (GONE) responses back.

This commit fixes this issue by correctly constructing an API endpoint
URL which includes the API version (e.g,
`https://api-ssl.bitly.com/v4/shorten`).
@matyama matyama merged commit 0ffff1e into main Aug 19, 2024
6 checks passed
@matyama matyama deleted the fix-api-url-path branch August 19, 2024 09:47
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

Successfully merging this pull request may close these issues.

1 participant