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

Add support for custom requests #16

Merged
merged 5 commits into from
Sep 28, 2023
Merged

Conversation

niklhut
Copy link
Contributor

@niklhut niklhut commented Dec 22, 2022

Adds a function which takes a custom json in the form of a [String: Any] dictionary to perform an entirely custom request.

Also, when throwing an error return the http response status instead of only the status code to allow for better error handling.

Copy link
Member

@0xTim 0xTim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@niklhut thanks for this - sorry it's taken so long to get released!

@0xTim 0xTim merged commit 598cda2 into brokenhandsio:main Sep 28, 2023
2 checks passed
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.

2 participants