Logo
  • Home

basic auth

Basic auth works in Postman but the curl it supplies doesn’t
Basic auth works in Postman but the curl it supplies doesn’t

Specifically in Windows on the command line. Everything from params are wrong to simply failing the auth. Here’s what worked for me: Click the little settings cog where the curl is generated in Postman: Now turn off multiline, turn off user long form and change quotes to double, like this: Now your curl will update,... » read more

0
Read
ralpharama written 2 years ago
Restrict access to the WordPress REST API posts endpoint with basic auth
Restrict access to the WordPress REST API posts endpoint with basic auth

We wanted to stop this leaking all our posts but also allow it for certain purposes with a username and password. Some solutions are very heavy-handed and can cause issues with plugins etc if you simply disable it all! With this method you can just lock down certain endpoints that you are worried about. This... » read more

0
Read
ralpharama written 2 years ago

Tiresome legal obligation privacy policy

https://www.buymeacoffee.com/ralpharama: Restrict access to the WordPress REST API posts endpoint with basic auth
Copyright © 2025 Ralpharama Geek Blog. All rights reserved. Theme by Mynote.