Hi
I used the library as is on my localhost and was able to send the message successfully.
But trying to use it on my server, I get the error -
There was an error authenticating the sender account
This is however the same file that I used on my local. Upon closer look, I found that the php curl is changing the content type that was set from application/json to text/html and that is what is causing the error.
Any idea why curl is changing the content type?
Hi
I used the library as is on my localhost and was able to send the message successfully.
But trying to use it on my server, I get the error -
There was an error authenticating the sender account
This is however the same file that I used on my local. Upon closer look, I found that the php curl is changing the content type that was set from application/json to text/html and that is what is causing the error.
Any idea why curl is changing the content type?