-
Notifications
You must be signed in to change notification settings - Fork 5
Add generic rest endpoint class for calling custom endpoints #12
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 generic rest endpoint class for calling custom endpoints #12
Conversation
MichaelJ2324
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add types please. Auth property can be set to optional as well. Also what's the use case you see for with headers method?
|
On the header method: I don't need it for my particular use case, but was going for completeness in that I think it'd be nice to be able to easily modify headers on a custom request. No problem taking it out for now though, as it's possible to do now, just a bit opaque. |
MichaelJ2324
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
MichaelJ2324
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code quality fixed. Approved.
No description provided.