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

It is also possible to have data in DELETE method #2169

Merged
merged 1 commit into from May 28, 2019

Conversation

@sericaia
Copy link
Contributor

sericaia commented May 23, 2019

This PR just changes the README file (docs).

It is also possible to have data in DELETE method.

It is possible to have:

  return axios.delete(
    `/api/todos/${id}`,
    {
      ...config,
      data: {
        reason
      }
    });
@emilyemorehouse emilyemorehouse merged commit 5250e6e into axios:master May 28, 2019
1 check passed
1 check passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.