Cannot use application password in rest api
-
Hello,
I’ve been using Simply Static for a while, and it works perfectly. I’m trying to automate the generation process using a script. I created an application password and used those credentials to send a POST request. Here’s my request:
curl -X POST https://mydomain.com/wp-json/simplystatic/v1/start-export -u "username:password"
I received a 200 OK response, but in the Simply Static logs, I noticed the following error:[2024-08-13 00:32:22] [class-ss-archive-creation-job.php:324] Status message: [error] Missing Basic Auth credentials - you need to configure the Basic Auth credentials in Simply Static -> Settings -> Misc -> Basic Auth to continue the export.
The topic ‘Cannot use application password in rest api’ is closed to new replies.