Fetching data from commcare form

I need to fetch data from my commcare form published online. The api says
for that I need to fetch form the url

https:

//www.commcarehq.org/a/corpora/api/v0.4/form/66d7a362-18a2-4f45-bd84-06f19b408d64/

which is in json format I think.
but when I parse the this url to get data in json format it says
unauthorised access. how do I do the basic http authentication?
Or how can I get the data from the form above (where the form is the formid
at last)?

··· >

I need to fetch data from my commcare form published online. The api says
for that I need to fetch form the url

https://

www.commcarehq.org/a/corpora/api/v0.4/form/66d7a362-18a2-4f45-bd84-06f19b408d64/

which is in json format I think.
but when I parse the this url to get data in json format it says
unauthorised access. how do I do the basic http authentication?
Or how can I get the data from the form above (where the form is the
formid at last)?

You have to use digest authentication.

Using curl this would looks something like this:

curl --digest -u “user:password” [url]

··· On Sun, Sep 1, 2013 at 5:47 AM, Mrudul T wrote:


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