-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Greedy Proxy Path Does Not Work Locally #1037
Comments
FWIW, I've been working around this by using |
I also felt this was a little similar to #434 but I am not using any sort of builder, just raw SAM. Have not tested if this is specific to the Ruby runtime either. |
@metaskills Thanks for this issue. I think this is similar to #437, if not the same issue. If you agree, I would prefer to close this one and track with #437. |
Oh, I do think it might be. Will watch that one to see. Thanks! Closing this one now. |
How can someone test this locally without support for /{proxy+}? |
Description
Can not use greedy proxy path variable in local SAM server
Steps to reproduce
Using something like this template.yaml.
And then using
sam local start-api
Observed result
Any root
/
request works, but requesting a path like/foo/bar
results in.Expected result
Building and deploying to AWS works. Can it work locally?
Additional environment details (Ex: Windows, Mac, Amazon Linux etc)
sam --version
: SAM CLI, version 0.11.0The text was updated successfully, but these errors were encountered: