utkarshkukreti / draco

Draco is a Rust library for building client side web applications with Web Assembly.
Apache License 2.0
303 stars 18 forks source link

Add ability to POST with body and Content-Type #10

Closed qthree closed 5 years ago

qthree commented 6 years ago

Also, helper to POST Json. Shouldn't cause breaking changes.

utkarshkukreti commented 5 years ago

I've been waiting a long time to remove the fetch module (doesn't make sense to have that in a frontend framework) and I was able to yesterday now that reqwest master added WASM support (https://github.com/utkarshkukreti/draco/commit/893c5710e239fc8f8287ccd4868448665ffe4b5b). That example works on beta and should work on stable in a few weeks. Thanks a lot for your PR!