简体   繁体   中英

Does RingCentral fax support Expect: 100-continue header?

I'm receiving a 400 error from the fax endpoint using the PHP SDK.

Exception: 400 Bad Request (and additional error happened during JSON parse: \
Response is not JSON) SDK HTTP Error at \
https://platform.ringcentral.com/restapi/v1.0/account/~/extension/~/fax

We are sending an Expect: 100-continue header. Could this be the issue?

We are running on AWS inside a Linux Docker system as in PHP code, MySQL DB and Apache webserver.

I have never dealt with Expect 100 Continue header. I am not aware of if RingCentral API supports it or not. Why don't you just disable or not sending the 100 Continue header to see if it works. Also try with other simple endpoint such as sending an SMS or reading the call log to see if your environment is up and run well.

If that does not work, can you post a few line of code where you use the PHP SDK to call the Fax API.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM