Skip to content
This repository was archived by the owner on Apr 26, 2022. It is now read-only.

sthuber90/aws-python-http-api-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project to reproduce issue in aws-lambda-powertools-python

Related Issue: aws-powertools/powertools-lambda-python#1098

The project creates two HTTP API endpoints:

  • GET - /pets/{name}
  • GET - /pets/{name}/vets

The Lambda function uses the aws-lambda-powertools-python layer.

Calling GET /pets/{name} or GET /pets/{name}/vets should return a successful response with status code 200 when called with "Chester Mall" or "Chester%20Mall" (without ") as name.

Instead of a successful response a 404 "Not Found" is returned, with response body

{
    "statusCode": 404,
    "message": "Not found"
}

This repository provides a reproducible example and can be deployed with

serverless deploy

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages