Preview files #869
Replies: 2 comments
-
LordRalex wrote at Nov 22 2018 16:44:24 UTC: We use OAuth2 for permissions, so you need to get an access token to make requests. In the panel, you can create the client_id and it will give you the client_secret, both of which you need to keep. You need to follow the OAuth2 process to get an access token. A basic example that we have is in https://speca.io/PufferPanel/pufferd Alternatively, I wrote some old PHP code that was designed to show the concept: https://gist.github.com/LordRalex/2e90fc4d8f7544de4d42f9fc63ef8003 |
Beta Was this translation helpful? Give feedback.
-
sopher wrote at Nov 22 2018 16:44:24 UTC: LordRalex It works! Thank you :) |
Beta Was this translation helpful? Give feedback.
-
sopher wrote at Nov 22 2018 16:44:24 UTC:
Hi guys,
I want to use preview files function on my another web server for build back-end page. I use curl function for get .json file, but it's don't work (permissions). Anyone have idea for it?
It's my code:
Beta Was this translation helpful? Give feedback.
All reactions