We are making a hybrid app where we are keeping maximum functionality of
ODK Collect. I have successfully authenticated to aggregate serve and able
to get the forms.
The problem I am facing is, I don't know to which URL I should submit the
form. Will I send the data in JSON object in post request?
Where can I find the URL to submit the particular form data?
The Form Submisison and Form Discovery APIs are the two APIs of interest.
The server accepts Form Discovery on the /formList URL.
And accepts Form Submission on the /submission URL.
If you do not specify the required custom headers, the /formList URL
returns an older response format: https://opendatakit.appspot.com/formList
To better support debugging using a browser, we provide the newer Form
Discovery response -- even if you do not specify the required headers --
via https://opendatakit.appspot.com/xformsList That is NOT the mechanism
that ODK Collect uses -- it uses the /formList URL and supplies the
expected and required headers.
ยทยทยท
On Fri, Nov 13, 2015 at 12:13 AM, Ratikanta Pradhan wrote:
Dear All,
We are making a hybrid app where we are keeping maximum functionality of
ODK Collect. I have successfully authenticated to aggregate serve and able
to get the forms.
The problem I am facing is, I don't know to which URL I should submit the
form. Will I send the data in JSON object in post request?
Where can I find the URL to submit the particular form data?