Any ideas why this does not work?
DreamFactory 2.4.2 RHEL 6.8
curl -i -k -X POST https://host/api/v2/mongodb/user/session -d ‘{ “email” : "me@some.org", “password” : “password” }’ -H 'Content-Type: application/json’
HTTP/1.1 400 Bad Request
Date: Fri, 03 Feb 2017 23:38:02 GMT
Server: Apache
X-Frame-Options: SAMEORIGIN
Vary: Cookie
X-Powered-By: PHP/7.0.15
Cache-Control: no-cache
Content-Length: 92
Connection: close
Content-Type: application/json
{“error”:{“context”:null,“message”:“Bad request. No token or api key provided.”,“code”:400}}+ exit
For refn - this does.
curl -s -k https://me%40some.org:password@host/api/v2/mongodb
++ local ‘RESULT={“resource”:[{“name”:"_schema"},{“name”:"_table"}]}’