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.
Hello,
I'm trying to work with services module to make some desktop application for drupal.
I'm using REST server. I can make GET and POST requests but PUT and DELETE are not working for some reason. Could it be that on Barracuda those methods are forbiden or something ?
Comments
Comment #1
dmiric CreditAttribution: dmiric commentedYeah I found it my self. Infact they are disabled.
If anyone else has this problem check:
/var/aegir/config/includes/nginx_advanced_include.conf
Comment #2
omega8cc CreditAttribution: omega8cc commentedBOA allows only requests required by Drupal and supported in Nginx by default: GET, HEAD and POST.
If you need more, you will need to fork BOA to add this: http://wiki.nginx.org/HttpDavModule and also modify its Nginx configuration.
Comment #3
omega8cc CreditAttribution: omega8cc commentedI'm moving this over to the correct issue queue.
Also related: #1524738: CORS support in barracuda
Comment #4
omega8cc CreditAttribution: omega8cc commentedFixed in commits:
6.x-1.x - http://drupalcode.org/project/provision.git/commit/a0ad4ca
6.x-2.x - http://drupalcode.org/project/provision.git/commit/37504d6
Thanks for the report!