#API 419

3 messages · Page 1 of 1 (latest)

tacit cobalt
#

Hello I try to add user from api, but when a du the post request /api/application/usersi got an 419 error, do you know why I got this, (the listing of the users work),

humble knoll
#

I think that Error was a CSRF token mismatch or smth Like that

sly peakBOT
#

@humble knoll; Enable SSL for your Panel with HTTPS protocol scheme in the APP_URL, or set SESSION_SECURE_COOKIE to false in your .env which is a hidden file located at /var/www/pterodactyl.

You can open it directly with nano /var/www/pterodactyl/.env. Refresh config cache with cd /var/www/pterodactyl && php artisan config:clear