We've Moved! Please visit our new and improved forum over at our new portal: https://portal.plumvoice.com/hc/en-us/community/topics
send .wav file back via api
send .wav file back via api
do you have documentation to support how we would send a .wav file back to our endpoint from what we have recorded using the record module?
Re: send .wav file back via api
Audio files from the record module are already in .WAV format. Call recordings are in .UL format.
Here is an example of how you would send it to your webservice.
https://drive.google.com/file/d/0B2RqW1 ... FzRXc/view
In PHP, you can access files via $_FILES like so:
This renames your recording to "my_recording.wav"
Here is an example of how you would send it to your webservice.
https://drive.google.com/file/d/0B2RqW1 ... FzRXc/view
In PHP, you can access files via $_FILES like so:
Code: Select all
if (isset($_FILES['recording'])) {
rename($_FILES['recording']['tmp_name'], 'my_recording.wav');
}
Plum Support
http://www.plumvoice.com
http://www.plumvoice.com