vendredi 7 février 2020

ember-data and json-patch requests

Can ember-data send json-patch PATCH on model.save() call? (with media type application/json-patch+json RFC6902)

The documentation says yes but with no details:

https://guides.emberjs.com/release/models/creating-updating-and-deleting-records/#toc_persisting-records

Testing it shows PUT requests with the entire model in the request.




Aucun commentaire:

Enregistrer un commentaire