Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

How to generate response for query

Hi,
I have a query "where" service.
The service runs fine with this js in mapping return '{"user_id" : "'+value+'"}';

User_id is a column in db

I need to create the response on the tester tab in builder.

Can you tell me what I need to add for value of query string.

I tried the user id 54c3ce2ee4b00f57e1add2e0 but got error 400

so I guess im am missing the js in the tester tab,

Looked all over and cant find an answer to this.

Here is a screenshot

Thanks

Image

Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

How to generate response for query

Hi,
I found the solution

{"user_id" : "54c3ce2ee4b00f57e1add2e0"}

Cheers

Return to “Issues”