I am running a script on a mobile device, that sends data by curl to my web server.
Now the server has to be programmed to accept the curl data, check it, store it and reply by sampling sending "done".
This is the important part of the mobile device script:
if [ "$(/usr/bin/curl -L -k -s -m 10 -X PUT -d "${KEY}:${MD5SUM}:${OTHER}" [login to view URL])" = "done" ]
So the device will work with the answer.
The device and the server are already connected via VPN, I can send curl requests from the server to the device and it answers. But I have no idea how to setup the server to accept curl data from the client device, see if its correct and answers by sending "done"
Thanks
Hi Dear,
I am interested of your task. I can configure your vps to accept request from device.
Please share the below information:
do you have any language preference?
What is your VPS sebserver, Apache or anyother?
What is your VPS operating System?
Thanks
€23 EUR in 1 day
5.0 (9 reviews)
4.0
4.0
8 freelancers are bidding on average €35 EUR for this job
Hello! We are a group of electrical engineers and web developers. It is not exactly clear what you mean by "accepting curl data," but we guess that you would like to implement a PHP script that reads the PUT request, process the data, and then respond with "done."
This can be done and we will be happy to help you setup the web server + code the PHP script for you so that all you will have to do is to pass the data through CURL to the IP address of your VPS. Please feel free to drop us a PM if interested and we will be happy to help.