Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

$http support at lease three format params as jQuery already does. #6417

@calidion

Description

@calidion

1、string based params
'a=1&b=2'
2、object based params
{
a: 1,
b: 2
}
3、FormData object
fd = new FormData()
fd = new FormData($('form').get(0));
fd.append('a', 1);
fd.append('b', 2);

support automatic Content Type detection, ajax file uploading withd FormData
as jQuery does.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions