Soontao/light-odata

How to send a file?

yarkovaleksei opened this issue · 2 comments

config.body = JSON.stringify(body, ODataValueJSONReplacer);

Why does body turn into a string? When I try to send a file to the server, my FormData turns into "{}". Is it possible to do without this?

ok, I get it, will plan this.

could you provide the odata server you're using