Page 3 of 3

get data from user collection

Posted: Tue Sep 09, 2014 7:30 pm
by Adrian Stoch

Hi support team,

I am trying to do the same thing but cannot get desired result. I have tried to map exactly as per Evgene's direction. Here are the mapping screens:

Settings:
Image

Request:
Image
I have tried with _id Header set to both true and false.

Test Result:
Image

I'm not sure if this makes a difference, but I created the service by duplicating the login service and then making the changes shown above.


get data from user collection

Posted: Wed Sep 10, 2014 1:53 am
by Yurii Orishchuk

Hi Adrian,

I see following errors in your implementation:

1 In your service request tab you have wrong checked "_id" parameter as header. See details: http://prntscr.com/4ldhju/direct

2 You have wrong parameter name. Replace it with "X-Appery-Database-Id" http://prntscr.com/4ldipk/direct

Regards.