79820396

Date: 2025-11-14 19:50:58
Score: 2
Natty:
Report link

Check your $http function parameters - in my case, I was using params instead of data, and that's why it was giving me such error. I was also writing the function a little bit differently.

$http({method: 'POST', url: 'X', params: Y}) - 415 Error

$http({method: 'POST', url: 'X', data: Y}) - No issues

It might also work the other way around - you could be wrongfully using data instead of params.

Reasons:
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user31823020