Tooba Atif
Posts: 0
Joined: Fri Apr 04, 2014 3:07 am

Response Mapping Issue Rest Service

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!

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Response Mapping Issue Rest Service

Hi Tooba,

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

Tooba Atif
Posts: 0
Joined: Fri Apr 04, 2014 3:07 am

Response Mapping Issue Rest Service

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

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

Response Mapping Issue Rest Service

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

Tooba Atif
Posts: 0
Joined: Fri Apr 04, 2014 3:07 am

Response Mapping Issue Rest Service

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.

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

Response Mapping Issue Rest Service

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

Return to “Issues”