How to let Axios (a javascript restful request library) not send some arguments/keys for an object?
{
name: "yingshaoxo",
love: undefined
}
the love
won’t send out, the payload will become:
{
name: "yingshaoxo",
}
{
name: "yingshaoxo",
love: undefined
}
the love
won’t send out, the payload will become:
{
name: "yingshaoxo",
}