Manually (php/scripting) send forms to aggregate

Hello everyone.
I'm really loving ODK and its environment but now I need that little step
over to make my app work as it should.
Straight to the point, I have a web-app (using Javascript and php) that
creates a ready to send form and the ready to send image to be sent with
the form itself.
Now I just need to figure out how to send everything using some php.
I never used php before using ODK and I really need help doing the
following:
-Find out what's the URL of the file or service on my aggregate appspot
server
-Find out how to send the form
-Find out how to send the attached image (in the same form folder)
-See if the form with his image is correctly uploaded

Any help?
(I tried some curl scripts but none of them seemed to be pointing the right
URL)

The server implements the OpenRosa specification:

https://bitbucket.org/javarosa/javarosa/wiki/OpenRosaAPI

https://bitbucket.org/javarosa/javarosa/wiki/FormSubmissionAPI

and don't forget to supply the expected headers:
https://bitbucket.org/javarosa/javarosa/wiki/OpenRosaRequest

The URL to which to post the submission is the base URL to your server
(without the /Aggregate.html) plus /submission

e.g., https://opendatakit.appspot.com/submission

ยทยทยท On Wed, Jun 1, 2016 at 2:06 PM, Cristiano Ceccarelli wrote:

Hello everyone.
I'm really loving ODK and its environment but now I need that little step
over to make my app work as it should.
Straight to the point, I have a web-app (using Javascript and php) that
creates a ready to send form and the ready to send image to be sent with
the form itself.
Now I just need to figure out how to send everything using some php.
I never used php before using ODK and I really need help doing the
following:
-Find out what's the URL of the file or service on my aggregate appspot
server
-Find out how to send the form
-Find out how to send the attached image (in the same form folder)
-See if the form with his image is correctly uploaded

Any help?
(I tried some curl scripts but none of them seemed to be pointing the
right URL)

--

Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com