First time here? Check out the FAQ!
![]() | 1 | initial version |
You are missing a comma after the value for the username key. The payload should be
'{"auth":{"passwordCredentials": {"username": "admin", "password": "admin"}}}'
On an unrelated note, I don't think that that you need to execute curl with sudo.