Page 1 of 1

use 'application/json' Content-Type and raw POST with json data

Posted: Thu May 30, 2019 9:48 am
by muazzamazaz
Getting following error in log when sending sms
error : use 'application/json' Content-Type and raw POST with json data

Re: use 'application/json' Content-Type and raw POST with json data

Posted: Mon Jun 17, 2019 1:04 pm
by muazzamazaz
Just putting

Code: Select all

Content-Type: application/json
inside http header field solved the issue.