It's saved as "callrecording" even though it shows "call_recording" on the head as default in the fuse+ interface?
Here is how it currently looks, with everything else disconnected for testing purposes:
https://i.imgur.com/BknUyoY.png
The REST module currently has the timeout set to 30s as well.
More information:
The application I'm sending to is a node app hosted on GCloud that simply accepts the POST and sends a status code back (which is why I tried having the response from the app be empty first).
Upon checking the app's logs and the call log, I noticed that the app isn't even logging the POST and the call log shows:
Code: Select all
07 AUG 2018 04:22:40 PM -0500: var_68, [rest] - ยป
ERROR:
HTTP response code was non-2xx.
REQUEST:
URL: https://******.appspot.com/
TYPE: POST
User-Agent: curl/7.29.0
Variable Value
id 200060;006;1533676672
file <audio file upload>
(please note first portion of url has been removed for privacy)
Also, this error occurs even when I explicitly send a 200 status from my app. So, I'm unsure why this error is being shown.
Also, here is an example of log output when the app is POSTed to (this example is using postman):
Code: Select all
I POST 200 187 B 3.9 s PostmanRuntime/7.1.5 / POST 200 187 B 3.9 s PostmanRuntime/7.1.5 5b6b491e00ff0651b1ed7152f30001737e67636c6f7564667573656c6f676765720001323031383038303874313432393530000100
70.165.119.234 - - [08/Aug/2018:14:48:46 -0500] "POST / HTTP/1.1" 200 187 - "PostmanRuntime/7.1.5" "******.appspot.com" ms=NaN cpu_ms=5539 cpm_usd=2.0898e-8 loading_request=1 instance=00c61b117c95452111f67ec598645cb4d04e50cda881d95c794bfcdf45e528cddec5af4ae049 app_engine_release=1.9.54 trace_id=3fe5a6a4bb57b83f3d7fb3eff278179d
A Server is running on port: 8080
A POST to / received!
A 10000;10;1022
A { fieldname: 'file',
A originalname: 'wavy.wav',
A encoding: '7bit',
A mimetype: 'audio/wave',
A buffer: <Buffer 52 49 46 46 2a 30 92 00 57 41 56 45 66 6d 74 20 12 00 00 00 01 00 02 00 44 ac 00 00 10 b1 02 00 04 00 10 00 00 00 64 61 74 61 04 30 92 00 00 00 00 00 ... >,
A size: 9580594 }
A Uploaded -> [object Object]
(again, url to app has been edited for privacy)
I assume an XML response is not required when using the rest data module. Is there not another way to remedy this?