Running update services

This forum contains topics that were moved from Get Satisfaction
Nick Pitt
Posts: 0
Joined: Tue Feb 18, 2014 12:44 pm

Running update services

Post by Nick Pitt »

Hi

Please can you help me:

I am struggling to generate a update service to update a single row in the database. At the moment i am only running a before send event.

How should an update service be generated ?

Please specify how they should be linked on both a before send and a success event.

Thanks

Nick

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

Running update services

Post by Alena Prykhodko »

hello nick,

Here you will find how to set up Update service https://devcenter.appery.io/documenta...
And here - example https://devcenter.appery.io/tutorials...

Nick Pitt
Posts: 0
Joined: Tue Feb 18, 2014 12:44 pm

Running update services

Post by Nick Pitt »

Thanks Alena

I have tried these tutorials but it still doesn't work.

I am only running a before send method as i believe success mapping is not required.

Please advise if my mapping is correct, if not what am i not doing.

Image

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Running update services

Post by Illya Stepanov »

Hi Nick -

Could you inspect the invocation of your service in network tab in browser developer tools for the status and request/response payloads.

Nick Pitt
Posts: 0
Joined: Tue Feb 18, 2014 12:44 pm

Running update services

Post by Nick Pitt »

Hi IIya

Im getting a status code 200 saying that it executed but nothing updates in the table. I have now shared the application with you guys.

Please can you take a look.

Thanks

Nick

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

Running update services

Post by Yurii Orishchuk »

Hi Nick,

Please open browser debugger on network tab and find update service request.

Then show us screen shots where we can see following info:

1 URL.
2 all headers.
3 all request parameters.
4 all response.

Regards.

Post Reply