Open livioschlaepfer opened 1 week ago
Using AWSHttpRequest from package aws_common fails to create a request body on web. See attached screenshots of created request mobile vs web.
final request = AWSHttpRequest.post( Uri.parse(''), headers: const { AWSHeaders.contentType: 'application/json', }, body: json.encode({ 'first_name': 'max', 'last_name': 'muster', }).codeUnits, );
Generated request object on web:
Generated request object on mobile:
3.16.8
aws_common: 0.6.3
Amplify CLI
No response
Hi @livioschlaepfer, we will take a look at this issue and get back to you when we have an update.
Description
Using AWSHttpRequest from package aws_common fails to create a request body on web. See attached screenshots of created request mobile vs web.
Categories
Steps to Reproduce
Screenshots
Generated request object on web:
Generated request object on mobile:
Platforms
Flutter Version
3.16.8
Amplify Flutter Version
aws_common: 0.6.3
Deployment Method
Amplify CLI
Schema
No response