Page 1 of 1

Running update services

Posted: Fri Jul 31, 2015 8:13 pm
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


Running update services

Posted: Sat Aug 01, 2015 10:40 am
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...


Running update services

Posted: Fri Aug 07, 2015 7:45 pm
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


Running update services

Posted: Sat Aug 08, 2015 1:08 am
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.


Running update services

Posted: Sat Aug 08, 2015 4:03 pm
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


Running update services

Posted: Mon Aug 10, 2015 4:24 am
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.