API Integration

Step 1: Get Your API Gateway URL

  • First of all you have to receive API GateWay url https://uwbxj9wfq6.execute-api.ap-southeast-1.amazonaws.com/dev
  • Open your project folder in VS Code.
  • Create a new file named api.js inside your src directory.
  • Add the following JavaScript code: apigateway_1

Step 2: Test the API in Postman

  • Take the data from postman
  • You should receive a status 200 response with JSON data apigateway_3

Step 3: Deploy and Verify on S3