In this section, we will add binary file support settings and enable CORS for the APIs
Select API Settings on the left menu.
Click Add binary media type
After the setting is done, back to Resource on the left menu.
For Enable CORS
Select /{id} resource
For Enable CORS
To front-end can use APIs, we need deploy APIs.
Select New stage
Enter stage name, such as: staging
Take note URL to call API
URL of list and write API:
URL of delete API: