API Gateway Flashcards
What is API Gateway?
A solution for creating secure APIs in your cloud environment at any scale
How do APIs act as a front door?
They are a front door for application to access data, business logic, or functionality from back-end services.
How many API endpoint requests per second (default)?
10,000 request per second
How can you increase the maximum API endpoint requests per second?
Via service request through AWS support
What are API stages?
Stages allow you to have multiple published versions of your API
Examples of API stages?
prod, staging, QA
Each stage has __? which is the endpoint you use to interact with your API?
Invoke URL
What type of domain can you have for your I**e URL?
A custom domain e.g. api.exampro.co
How do you publish your API? What do you need to specfiy?
Via Deploy API. You need to specify what STAGE you want to publish your API
What are resources in relation to APIs?
The API URLs e.g. /projects
What is an extension of resources?
You can have child resources e.g. /projects/-id-/edit
What are examples of Methods on resources?
GET, POST, DELETE
What is CORS?
Cross-origin resource sharing (CORS) is a browser security feature that restricts cross-origin HTTP requests that are initiated from scripts running in the browser.
Who enforces CORS?
The client
Where can CORS be enabled?
on ALL or individual API endpoints