Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Install
Works with Drupal: 7.xUsing Composer to manage Drupal site dependencies
Downloads
Download restws-7.x-2.0-alpha3.tar.gztar.gz
30.21 KB
MD5: 0ca0a6cc7b1ff2ee3ef2d3b7b49cd5d0
SHA-1: 218a1f4e1b53ca1833c3cafca43b3b7278ffa84f
SHA-256: 625045af89c1a3666040bc3edbf3a9d5e95a560da5c69c08b20bdea9fc66d1b8
Download restws-7.x-2.0-alpha3.zipzip
39.38 KB
MD5: 2caf296e6a508c69def63d2cbdfecc50
SHA-1: b089ce226c747273c1af76e4f8c456323f852d13
SHA-256: c8a79b3fafb76d4d2a33180214dd0ec8e64052ed507e187ad4114712bc36621d
Release notes
Fixes a CSRF security issue. SA-CONTRIB-2012-162 - RESTful Web Services - Cross site request forgery (CSRF)
API change: The format extension in URL paths only works for GET requests now.
Example that still works:
GET http://example.com/node/123.json
GET http://example.com/node.json
Examples that do not work anymore:
POST http://example.com/node.json
PUT http://example.com/node/123.json
DELETE http://example.com/node/123.json
You have to set the content type header instead, example for JSON:
Content-Type: application/json