This is needed because I thought I had done it earlier (when I committed the change to the Drupal REST endpoint: https://github.com/geerlingguy/drupal-rekognition_api/commit/4c2d6c84d24...), but I didn't.

So currently, if you use the included Lambda function with the included endpoint, you get something like:

Symfony\Component\HttpKernel\Exception\MethodNotAllowedHttpException: No route found for "PUT /rekognition_api/objects/create": Method Not Allowed (Allow: POST) in Symfony\Component\HttpKernel\EventListener\RouterListener->onKernelRequest() (line 180 of /var/www/drupal/vendor/symfony/http-kernel/EventListener/RouterListener.php).
CommentFileSizeAuthor
#2 2903364-2-lambda-post-not-put.patch3.85 KBgeerlingguy

Comments

geerlingguy created an issue. See original summary.

geerlingguy’s picture

Status: Active » Needs review
StatusFileSize
new3.85 KB

  • geerlingguy committed 44e4b6b on 8.x-1.x
    Issue #2903364 by geerlingguy: Switch the Lambda function from PUT to...
geerlingguy’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.