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 httplib API calls for empty body #126 #127

Merged
merged 4 commits into from
Dec 13, 2024
Merged

Conversation

fklebert
Copy link
Contributor

Changes

Adapted the httplib interface calls to correctly pass std::string() instead of nullptr, plus simplifications.

Affected use-cases

Threw an exception when POST, PUT, etc. was called with empty request object.

@josephbirkner
Copy link
Collaborator

Awesome 💯

@fklebert fklebert merged commit 2c31269 into master Dec 13, 2024
14 checks passed
@fklebert fklebert deleted the fix-httplib-interface branch December 13, 2024 17:25
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