tuupola / slim-api-skeleton

Slim 3 API skeleton project for Composer
MIT License
312 stars 62 forks source link

Insecure use of middleware over HTTP denied by configuration #16

Closed Fshamri closed 7 years ago

Fshamri commented 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

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