How to create product attribute with select type by REST API Magento 2?

Create Product attribute with select (drop-down) option type by REST Web API Magento 2.
You can create a product select type attribute with the provided payload and basic operation.

Action: POST

Request URL: <HOST_URL>/rest/V1/products/attributes (https://magento.test/rest/V1/products/attributes)

Header: Authorization:Bearer <admin_user_token>