-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Example of multipart request for custom greeting #75
Comments
The following CURL request works perfectly fine with my MP3 file, so the functionality is clearly there and the API endpoint works leading me to believe it's definitely an issue with the PHP lib itself.
|
I don't think it is possible with this SDK. Becuase the SDK only supports ringcentral-php/src/Http/MultipartBuilder.php Line 146 in f27044f
@vyshakhbabji What do you think? |
You can send any custom request if you assemble it manually. |
@kirill-konshin Yes I agree. Currently user has to do it the hard way. And making updating greeting audio support |
So for @cbzink's original question:
The situation is that
Can we provide an example of how to do this manually or a pointer to a I did some Google searches and found https://www.example-code.com/phpExt/mime_multipartMixed.asp I also found an unsuccessful reference to using Swift Mailer. At the time, http://www.devnetwork.net/viewtopic.php?f=52&t=82799 |
I'm attempting to create a custom greeting as outlined in the docs: https://developer.ringcentral.com/api-docs/latest/index.html#!#RefCreateUserCustomGreeting. Unfortunately this is failing using both a WAV and MP3 file with a
415 Unsupported Media Type
error. Below is an example of my code:Could you provide a working example of
createMultipartBuilder
for this use case? Thanks!The text was updated successfully, but these errors were encountered: