mountainears
Forum Replies Created
-
Forum: Developing with WordPress
In reply to: Application Password Blank – not showingScreenshot wasn’t working….here’s the different ones I tried…
curl -X POST -u userid:password -H “Content-Type:application/json” -d ‘{“name”:testingAppPW}’ https://site.com/wp-json/wp/v2/users/application-passwords/new
curl -X POST -u userid:password -H “Content-Type:application/json” -d ‘{“name”:testingAppPW}’ https://site.com/wp-json/wp/v2/application-passwords/new
curl -X POST -u userid:password -H “Content-Type:application/json” -d ‘{“name”:testingAppPW}’ https://site.com/wp-json/wp/v2/application-passwords
curl -X POST -u userid:password -H “Content-Type:application/json” -d ‘{“name”:testingAppPW}’ https://site.com/wp-json/wp/v2/users/application-passwords
curl -X POST -u userid:password -H “Content-Type:application/json” -d ‘{“name”:testingAppPW}’ https://site.com/wp-json/wp/v2/users/userid/application-passwords
Forum: Developing with WordPress
In reply to: Application Password Blank – not showingTried a few different variants based on this and some other readings…. all netting the same response:
-bash: !iR!: event not found
Trying to add the screenshot, just a minute….
- This reply was modified 9 months, 1 week ago by mountainears.
Forum: Developing with WordPress
In reply to: Application Password Blank – not showingI’m working on getting deeper access. I have another wp site I have on Godaddy and I tried installing the same plugins and it still works there, making me think it may be the theme.
Now I’ve sidetracked myself on trying to create the application password using Powershell. I can execute a command to show the users successfully by entering in:
curl https://sitename.com/wp-json/wp/v2/users
and that generates the user list. So I thought I was close on being able to understand the command to create an application password that way (I’m not a coder….), I gave this a go based on what I’ve been reading around….
curl -X POST -u adminaccount:password -H “Content-Type: application/json” -d ‘{“label”: “My
AppPassword”}’ https://sitename.com.com/wp-json/wp/v2/users/application-passwordsbut that failed with an event not found message. If I can get the app password created this way I can skip trying to figure out what is wrong with the theme. Am I close on that command to do that?