pritu patel
Posts: 0
Joined: Tue Jan 21, 2014 6:24 am

Send data to my server

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??

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Send data to my server

Hi Pritu,

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

pritu patel
Posts: 0
Joined: Tue Jan 21, 2014 6:24 am

Send data to my server

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

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Send data to my server

In service settings.

pritu patel
Posts: 0
Joined: Tue Jan 21, 2014 6:24 am

Send data to my server

ok I know it very well.Thnk you

pritu patel
Posts: 0
Joined: Tue Jan 21, 2014 6:24 am

Send data to my server

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.

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Send data to my server

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.

pritu patel
Posts: 0
Joined: Tue Jan 21, 2014 6:24 am

Send data to my server

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

Image

Image

Image

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Send data to my server

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.

pritu patel
Posts: 0
Joined: Tue Jan 21, 2014 6:24 am

Send data to my server

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.

Return to “Issues”