NativeScript / nativescript-background-http

Background Upload plugin for the NativeScript framework
Apache License 2.0
101 stars 50 forks source link

get uploaded image url back #230

Closed alzizoomar closed 5 years ago

alzizoomar commented 5 years ago

i uploaded image successfully how to get it back from server as url

DimitarTodorov commented 5 years ago

Hi @alzizoomar The plugin provides a functionality to upload files to a server. The request you are posting here is about server functionality. You have to implement a functionality on your server which returns data about the image/file url on the server side. Another way is to add an endpoint of your server in order to call it and observe the desired information. Regards, NativeScript Team

HugoAntares commented 4 years ago

Hi @DimitarTachev I do receive properly my file but I can't get any data from e.response in my task complete event. Where can I get the data returned by the server in my NS app ?

DimitarTachev commented 4 years ago

@HugoAntares,

I suppose you've tried to mention @DimitarTodorov ;)

HugoAntares commented 4 years ago

@DimitarTachev indeed, my bad ^^

And actually I thought I'll get the server response in the complete event, but there is a responded event. My bad, again!