-
-
Notifications
You must be signed in to change notification settings - Fork 617
Closed
Description
Hi,
Thanks for this bundle, it works great so far :)
I was just wondering, would it be possible to allow credentials to be sent both a a JSON object or application/x-www-form-urlencoded data?
It just makes more sense, as the response is sent in the JSON format anyway.
Basically, in addition to this request:
POST /api/login HTTP/1.1
Host: https://whatever.domain.org
_username="any-name"&_password="any-password"
Allow this one also:
POST /api/login HTTP/1.1
Host: https://whatever.domain.org
Content-Type: "application/json"
{
"_username": "any-name",
"_password": "any-password"
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels