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

How to add body in delete request #18

Closed
talhakhan011 opened this issue Jan 30, 2020 · 1 comment
Closed

How to add body in delete request #18

talhakhan011 opened this issue Jan 30, 2020 · 1 comment

Comments

@talhakhan011
Copy link

var r = await Requests.delete("https://reqres.in/api/users/10");
r.raiseForStatus();

where I can add body here

@jossef
Copy link
Owner

jossef commented Feb 18, 2020

personally I'm against doing this - body in http delete is not a universally supported.
however, I've read that some http servers do support it.

I'm adding support in doing this as per your request since it's not breaking anything
👌

@jossef jossef closed this as completed in 4e5cfdf Feb 18, 2020
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

No branches or pull requests

2 participants