Hi Carlos,
You can create a service with POST method that will send data to your server.
In Response parameters mapping set the needed image. On button click event add "invoke Service" action.
Hi Carlos,
You can create a service with POST method that will send data to your server.
In Response parameters mapping set the needed image. On button click event add "invoke Service" action.
Good morning Katya,
thanks for that quick answer and sorry for me being so late.
In theory i understand setting up the SERVICE and what it is good for.
So i went to NEW - SERVICE to create a new service.
But i do not know wich one of them to start with? is it a REST or a generic
security context service?
Thanks in advance!
Hello! Have you read these docs http://docs.appery.io/documentation/#...
Hello Maryna, yes i have but i it looks like i still do not understand the REST technology. If i am right, in example web-services use REST to make it easier to fetch data from their websites and connect to their websites.
But with my example, all i want is to upload my form to my page at i.e. [url=http://www.domain.com(upload.php]http://www.domain.com(upload.php[/url]
sorry for me being so stupid
If you need to send/get data from server you have to send ajax request in JS. It's easier to do with Appery.io using REST services, where you can specify server URL, request parameters and map response parameters. Pretty much every tutorial shows how to work wit REST services. I would highly recommend to try our tutorials first http://docs.appery.io/tutorials/
how to map the data $_POST['image']; in appery ?
Hi Nisa - Sorry, but mapping won't work with PHP script data in Appery.io.
Okay,so how can i upload image using php?
We are very sorry, but php coding is something outside the scope (http://devcenter.appery.io/support-po...) of our support.
Hi, Florian Thürkow. Can you solve your problem using the code ? mine's cannot work, my directory seem like cannot work after i add image name on it. I had checked directory before and after adding image name using is_writeable().