Mwesigwa Ezra
Posts: 0
Joined: Fri Mar 27, 2015 7:05 am

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.
Image

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. Image

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. Image
kindly Help Me.

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

How do i save RESPONSE returned by rest Api to a Scope Variable without mapping?

Hello Mwesigwa,

We're sorry, but unfortunately this is something outside the scope of standard Appery.io platform support. You may consider purchasing Advisory Pack to get more in-depth help on this question. Here is more information about it: http://appery.io/services/#Advisory_Pack

Mwesigwa Ezra
Posts: 0
Joined: Fri Mar 27, 2015 7:05 am

How do i save RESPONSE returned by rest Api to a Scope Variable without mapping?

Hello Evgene

Thank you for the response.it's quite unfortunate that this is out of your support scope.Couldn't you please just give me a hint on how to save this huge chunk of response into specific variables within a scope Object?Please.! kindly Please.

Return to “Issues”