```dart Future postTodo() async { try { final restOperation = Amplify.API.post( 'todo', body: HttpPayload.json({'name': 'Mow the lawn'}), ); final response = await restOperation.response; print('POST call succeeded'); print(response.decodeBody()); } on ApiException catch (e) { print('POST call failed: $e'); } } ```