Amplify has re-imagined the way frontend developers build fullstack applications. Develop and deploy without the hassle.

Page updated Apr 29, 2024

Update data

Amplify Flutter v1 is now in Maintenance Mode until April 30th, 2025. This means that we will continue to include updates to ensure compatibility with backend services and security. No new features will be introduced in v1.

Please use the latest version (v2) of Amplify Flutter to get started.

If you are currently using v1, follow these instructions to upgrade to v2.

PUT requests

To update an item via the API endpoint:

Future<void> updateTodo() async {
try {
final restOperation = Amplify.API.put(
body: HttpPayload.json({'name': 'Mow the lawn'}),
final response = await restOperation.response;
print('PUT call succeeded');
} on ApiException catch (e) {
print('PUT call failed: $e');