Amazon web services – Unable to fetch, HTTP POST method, AWS
I have an AWS lambda funtion. It works well and returns the following: return { statusCode: 200, headers: { 'Access-Control-Allow-Origin': '*', 'Access-Control-Allow-Credentials': true, 'Access-Control-Allow-Headers': 'Content-Type', 'Access-Control-Allow-Methods': 'OPTIONS, PUT, POST, GET, DELETE', }, body: JSON.stringify('Success'), }; I created an API Gateway…