Skip to content

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

Merged
emilyemorehouse merged 1 commit intoaxios:masterfrom
sericaia:patch-1
May 28, 2019
Merged

It is also possible to have data in DELETE method#2169
emilyemorehouse merged 1 commit intoaxios:masterfrom
sericaia:patch-1

Conversation

@sericaia
Copy link
Copy Markdown
Contributor

@sericaia 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
@axios axios locked and limited conversation to collaborators May 3, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants