core icon indicating copy to clipboard operation
core copied to clipboard

API GET Request with API Key

Open taepp-do opened this issue 1 year ago • 2 comments

Hello, I know you want the Get requests public but we will use internally and no one else should access the data, because its sensitive data. Could you tell me where the API Requests are happening so I can change the code that get requests also need the api key?

Thanks for your help in advance

taepp-do avatar Feb 07 '25 14:02 taepp-do

@taepp-do The API request are done in the Core package: https://github.com/cachethq/core

specific: https://github.com/cachethq/core/blob/main/routes/api.php:41

But i guess this would be a great option to add to the application. That the API can be public or protected

icecoldPHP avatar Feb 08 '25 09:02 icecoldPHP

This would need to be an option in the core repo, that allows the API to be private.

jbrooksuk avatar Feb 08 '25 09:02 jbrooksuk