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

Migrate to new API endpoints #7

Merged
merged 16 commits into from
Dec 15, 2023
Merged

Migrate to new API endpoints #7

merged 16 commits into from
Dec 15, 2023

Conversation

Jonxslays
Copy link
Owner

This PR updates the SDK to use the new RPC style endpoints.

Adds in the Unkey-SDK header, and regular User-Agent header, instead of just x-user-agent.

Also fixed up error handling as the error responses returned by the API changed shape.

Closes #6

@Jonxslays Jonxslays merged commit ec8355c into master Dec 15, 2023
16 checks passed
@Jonxslays Jonxslays deleted the issue/6 branch December 15, 2023 04:11
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.

Migrate to new API endpoints
1 participant