Closed Fshamri closed 7 years ago
I am sending post request like: > curl "http://localhost:8888/api/public/token" --include --insecure --header "Content-Type: application/json" --data '["todo.create", "tod.read"]' --user test:test
> curl "http://localhost:8888/api/public/token" --include --insecure --header "Content-Type: application/json" --data '["todo.create", "tod.read"]' --user test:test
but i am getting:
ate: Fri, 23 Jun 2017 20:02:50 GMT Server: Apache X-Powered-By: PHP/7.1.1 Content-Length: 126 Connection: close Content-Type: application/problem+json { "title": "Insecure use of middleware over HTTP denied by configuration.", "type": "about:blank", "status": 500
I am sending post request like:
> curl "http://localhost:8888/api/public/token" --include --insecure --header "Content-Type: application/json" --data '["todo.create", "tod.read"]' --user test:test
but i am getting: