If you check the article I linked you can also do "Hash parameter authentication"
This is however less save and as the article warns you about:
Only use hash parameter authentication for loading data that you want to make publicly available. REST requests with hash authentication can be executed by anyone who obtains the URL (for example by intercepting the web request).
To get the authentication hash for REST requests:
- Prepare the URL of your REST request in advance.
- Open the Settings application.
- Select the Integration -> REST category.
- Click Generate authentication hash.
- Enter the full absolute URL of the REST request, including the protocol, website domain name, virtual directory, REST path, and query string parameters. For example: http://mywebsite.com/rest/content/currentsite/en-us/all/news?format=json
- Click Authenticate.