Re-deploy `UsersAPI`

After enable CORS for /users and /users/{userId} resources, you need to re-deploy the API so the new settings is applied in your dev stage.

  • Go to the Resources section of the UsersAPI.

  • Click Deploy API.

    alt text

  • Choose the dev stage (that you’ve created).

  • Click Deploy.

    alt text