How do i save RESPONSE returned by rest Api to a Scope Variable without mapping?
Am using Cloudinary file api to Upload and transform my files.It would be as easy as creating a new service,testing it,generate a response and then do a mapping!. the testing works fine but when i generate an apk and pass on an audio recording to it, it returns an error as shown below.
So my solution was to use the fileTransfer Plugin and i followed the documentation here.(https://github.com/apache/cordova-plu...). Indeed it worked and the file was uploaded as implemented below.
My challenge is how to save the response returned by console.log("Response = " + r.response); into a scope because when i changed "console.log" to "alert", i was able to see the response like in the photo below.
kindly Help Me.