Skip to content

Commit

Permalink
Add post to api gateway endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
pearl-truss committed Jan 5, 2024
1 parent 824a72b commit a6e04d6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions services/app-api/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,13 @@ functions:
graphql_external:
handler: src/handlers/apollo_gql.graphqlHandler
events:
- http:
path: v1/graphql/external
method: post
cors: true
authorizer:
name: third_party_api_authorizer
identitySource: method.request.header.Authorization
- http:
path: v1/graphql/external
method: get
Expand Down

0 comments on commit a6e04d6

Please sign in to comment.