Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 292655

PATCH and POST should return 400 on NULL bodies

$
0
0

If the request body is empty (NULL) of an incoming request then the REST entity resource plugin should return a 400 bad request error. It simply does not make sense to have empty bodies on PATCH or POST requests.


Viewing all articles
Browse latest Browse all 292655

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>