Page 1 of 2

How to receive the updated value?

Posted: Thu Aug 13, 2015 1:44 pm
by Makoto

Hi, appery support team!

I am trying to update my database object and receive the updated value, but it doesn't work. I read the following documentation and the previous post.

https://devcenter.appery.io/documenta...
https://getsatisfaction.com/apperyio/...

I know that in order to update the value I should use Put request. And, I succeeded to update the database object, but I couldn't receive anything from the database.(My response window doesn't show anything at all.) So, I'd like to know how to receive the updated data.

Is it impossible to receive the updated value only using Put request? Do I have to use another service with Get request?

Thank you.


How to receive the updated value?

Posted: Thu Aug 13, 2015 6:11 pm
by Serhii Kulibaba

Hello Makoto,

It is impossible to use only put request.You need use both requests (put and get)


How to receive the updated value?

Posted: Thu Aug 13, 2015 10:50 pm
by Makoto

Hello, Sergiy!

I understand it.
Thank you very much for your help!


How to receive the updated value?

Posted: Fri Aug 14, 2015 12:52 pm
by Makoto

However, I still don't understand the reason why I couldn't receive any response from the database after updating an object. I succeeded in updating the database object though.

I can't set the following Get request because of the lack of the response.
Do you have any clues?

The following documentation mentions the sample response.

https://devcenter.appery.io/documenta...

Thank you.

Image


How to receive the updated value?

Posted: Fri Aug 14, 2015 1:26 pm
by Illya Stepanov

Hi - Could you please check what are you getting in the network tab in the browser developer tools upon clicking test?


How to receive the updated value?

Posted: Fri Aug 14, 2015 2:27 pm
by Makoto

Hi Illya,

Thank you for your quick reply.
I got the following data.
Could you check it?

Thank you.

Image


How to receive the updated value?

Posted: Fri Aug 14, 2015 2:55 pm
by Makoto

When I check a line of Put Method, the Response says "-1".

Image


How to receive the updated value?

Posted: Fri Aug 14, 2015 3:02 pm
by Illya Stepanov

Click on a 'testConnection' what are you getting there as a Response?


How to receive the updated value?

Posted: Fri Aug 14, 2015 3:06 pm
by Makoto

How to receive the updated value?

Posted: Fri Aug 14, 2015 3:18 pm
by Illya Stepanov

Strange, could you please share your app with us (and tell us the name of your app) or provide a public link to your app. And tell also the name of your service which we should check.