Page 1 of 1

Response Mapping Issue Rest Service

Posted: Fri May 30, 2014 7:57 am
by Tooba Atif

Hi,

I am trying to post some parameters to my server url using rest service but I am unable to do that.
Please help me with this issue.
See the pictures attached I am getting blank response
Image

Image

Image

Please guide me!


Response Mapping Issue Rest Service

Posted: Fri May 30, 2014 11:16 am
by Kateryna Grynko

Hi Tooba,

This is a server side issue. Please make sure your server works correctly and you use the needed parameters.


Response Mapping Issue Rest Service

Posted: Mon Jun 02, 2014 2:44 am
by Tooba Atif

Thanks Katya,
You are right issue is with my server code.
Ok now I want to send some data from my appery database to server using this rest service.
Which steps I have to do for that please guide me?
Like I have a collections name PropertyImages having a Image_name and image fields and I want to map this to my rest service and then send it to my server.
I will appreciate your help.
Thanks


Response Mapping Issue Rest Service

Posted: Mon Jun 02, 2014 9:39 am
by Evgene Karachevtsev

Hello Tooba,

There are many ways to pass data to your external server: http://devcenter.appery.io/documentat...
For example, you can use only one request parameter and write in it rows from your database like json


Response Mapping Issue Rest Service

Posted: Tue Jun 03, 2014 1:20 am
by Tooba Atif

Hi Evgene,

Thanks for your reply.
Can you please give me some code on how to pass DB rows to service parameter using json?
I have checked the rest service document but did not find any method there.


Response Mapping Issue Rest Service

Posted: Tue Jun 03, 2014 11:35 am
by Evgene Karachevtsev

Hello Tooba,

For example you can look at appery service that execute multiple update in collection:

Image

Image

parameter "data" contain data sending to server