Makoto
Posts: 0
Joined: Fri Oct 10, 2014 8:15 am

How to receive the updated value?

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.

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

How to receive the updated value?

Hello Makoto,

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

Makoto
Posts: 0
Joined: Fri Oct 10, 2014 8:15 am

How to receive the updated value?

Hello, Sergiy!

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

Makoto
Posts: 0
Joined: Fri Oct 10, 2014 8:15 am

How to receive the updated value?

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

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

How to receive the updated value?

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

Makoto
Posts: 0
Joined: Fri Oct 10, 2014 8:15 am

How to receive the updated value?

Hi Illya,

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

Thank you.

Image

Makoto
Posts: 0
Joined: Fri Oct 10, 2014 8:15 am

How to receive the updated value?

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

Image

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

How to receive the updated value?

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

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

How to receive the updated value?

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.

Return to “Issues”