You should send your data in a POST request with Content-Type header value set to application/x-www-form-urlencoded, not json.
You should send your data in a POST request with Content-Type header value set to application/x-www-form-urlencoded, not json.