signalpoint / jDrupal

A JavaScript Library and API for Drupal Applications
http://jdrupal.tylerfrankenstein.com/
GNU General Public License v2.0
76 stars 38 forks source link

Appent ?_format=json to post/patch entities #80

Closed hanoii closed 6 years ago

hanoii commented 6 years ago

Drupal 8.5.0 made it a requirement that the ?_format=json is available on rest resources.

See https://www.drupal.org/node/2954953.

Although that change record doesn't specifically address edits, on an updated project it did show an error 406 which is the same as with views rest port. Adding the one line on this PR fixed it.

signalpoint commented 6 years ago

Thank you @hanoii