Skip to content

fix: support LocalStack-compatible _user_request_ URL for API Gateway execution#314

Merged
hectorvent merged 1 commit intomainfrom
fix/295-lambda-validation-url
Apr 9, 2026
Merged

fix: support LocalStack-compatible _user_request_ URL for API Gateway execution#314
hectorvent merged 1 commit intomainfrom
fix/295-lambda-validation-url

Conversation

@hectorvent
Copy link
Copy Markdown
Collaborator

Summary

Closes #295

Problem

Requests to the LocalStack-compatible execute URL format:

  GET /restapis/{apiId}/{stageName}/_user_request_/{proxy+}                                                                                                                 

had no handler in Floci. The request fell through to S3's wildcard
handler and returned a misleading NoSuchBucket XML error.

Verified manually with a Python Lambda + AWS CLI against a running. Floci container. Both formats return identical responses:

  curl http://localhost:4566/execute-api/{apiId}/prod/hello                                                                                                                 
  curl http://localhost:4566/restapis/{apiId}/prod/_user_request_/hello

Type of change

  • Bug fix (fix:)
  • New feature (feat:)
  • Breaking change (feat!: or fix!:)
  • Docs / chore

AWS Compatibility

Checklist

  • ./mvnw test passes locally
  • New or updated integration test added
  • Commit messages follow Conventional Commits

@hectorvent hectorvent merged commit 55325ec into main Apr 9, 2026
11 checks passed
@hectorvent hectorvent deleted the fix/295-lambda-validation-url branch April 13, 2026 04:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Call deployed api gateway

1 participant