API (REST)
Configure REST API
Use Amplify CLI's simple guided workflow to add REST APIs to cloud-based web and mobile apps.
Set up Amplify REST API
The API category provides a solution for making HTTP requests to REST and GraphQL endpoints. The REST API category can be used for creating signed requests against Amazon API Gateway when the API Gateway Authorization is set to AWS_IAM.
Fetch data
Using the GET API REST in Amplify
Update data
Using Post, Put, etc. in Amplify
Delete data
Using the Delete API REST in Amplify
Define authorization rules
Learn more about how to define authorization rules for Amplify's REST API capabilities
Test the REST API
Learn how you can test the REST API from the terminal, with Amplify Mock, or with the API Gateway console.
Use existing AWS resources
Configure the Amplify Libraries to use existing Amazon API Gateway resources by referencing them in your configuration.
Override Amplify-generated API Gateway resources
The 'amplify override api' command generates a developer-configurable 'overrides' TypeScript file which provides Amplify-generated API Gateway resources as CDK constructs. For example, developers can configure a custom description or the minimum compression size of their REST API.
Migrate from v5 to v6
Learn more about the migration steps to upgrade API(REST) APIs from Amplify JavaScript v5 to v6