Page 1 of 2

Send data to my server

Posted: Mon Feb 17, 2014 8:43 am
by pritu patel

I have one form in my application
I retrive value from user their mobile no.and e-mail id.
now
I want to send that data to my server database table.
Hoe it possible in appery??


Send data to my server

Posted: Mon Feb 17, 2014 9:53 am
by Kateryna Grynko

Hi Pritu,

Yes, if you service support REST requests: http://docs.appery.io/documentation/r...


Send data to my server

Posted: Mon Feb 17, 2014 11:42 am
by pritu patel

But i want to send data on my own server database
How to add my URL in that??


Send data to my server

Posted: Mon Feb 17, 2014 12:20 pm
by Kateryna Grynko

In service settings.


Send data to my server

Posted: Mon Feb 17, 2014 1:08 pm
by pritu patel

ok I know it very well.Thnk you


Send data to my server

Posted: Tue Feb 18, 2014 6:13 am
by pritu patel

I tried it but not working.In server code there is default Execute url is available.
In service settings I can't add my url.
If I add my url then how it possible for output?
please Tell me some solution to send data on my url using server code.


Send data to my server

Posted: Tue Feb 18, 2014 7:52 am
by Kateryna Grynko

Hi Pritu,

Why can't you add? Enter a link to your server in Service Settings parameter 'URL'. To get a service response you can either add mapping to a page, or use a variable 'data' on service Success event.


Send data to my server

Posted: Wed Feb 19, 2014 8:06 am
by pritu patel

I send data in phpmyadmin database table but it not inserting in that
check screenshot
Image

Image

Image

Image


Send data to my server

Posted: Wed Feb 19, 2014 1:23 pm
by Kateryna Grynko

Hi Pritu,

Does REST client receives data correctly? What data is your server supposed to send when data received?

In Test tab you do not send data, but I can see that you send from your mapping.


Send data to my server

Posted: Wed Feb 19, 2014 1:45 pm
by pritu patel

About REST client I have no more idea.Where is this?what is this?

What data is your server supposed to send when data received?
Only send successfully registartion message.

Yes send data from input box.