3

I have an ionic 4 application and i try to call odoo jsonrpc but when request reached to the server there I see the log like '/web/session/authenticate: Function declared as capable of handling request of type 'JSON' but called with a request of type 'HTTP''

Same request i send from postman it works.. but from Ionic4 HttpClient post request not responding.

1 Answers1

1

Try setting in the header of your request: Content-Type: application / json.

Dharman
  • 30,962
  • 25
  • 85
  • 135
Dayana
  • 1,500
  • 1
  • 16
  • 29