I am getting below error while giving curl cmd ..
.curl -vu rajithapp:secret 'http://localhost:9191/api/oauth/token
username=admin&password=admin&grant_type=password'
INFO 7804 --- [nio-9191-exec-4] o.s.s.o.provider.endpoint.TokenEndpoint : Handling error: InvalidRequestException, Missing grant type
@ppavan895 use double quotes. it should work
curl -vu rajithapp:secret "http://localhost:9191/api/oauth/token
username=admin&password=admin&grant_type=password"
Hi,
I am getting below error while giving curl cmd .. .curl -vu rajithapp:secret 'http://localhost:9191/api/oauth/token username=admin&password=admin&grant_type=password'
INFO 7804 --- [nio-9191-exec-4] o.s.s.o.provider.endpoint.TokenEndpoint : Handling error: InvalidRequestException, Missing grant type
please help me.