REST v2/oauth/token

Using this: C:>curl http://localhost:8080/app/rest/v2/oauth/token -u test123:test123

I get this:{“error”:“unauthorized”,“error_description”:“Bad credentials”}

This user has the roles
system-minimal
rest-api-access
system-full-access

same for the user admin:admin

Just can’t get anything to use REST.

What am I doing wrong?

Hi,

You can find an example how to get an access token in the documentation.

Thank you very much Max!