Fetch data over URL

Hi,

As per our requirements we want to pull data from CommCare and push to our
reporting server. I went through CommCare documents and found that it is
possible and data can be fetch over URL (Link
https://wiki.commcarehq.org/display/commcarepublic/Form+Data)

I am not sure how we can pass user name and password to this URL so that
data is access through credentials only. Please advise.

Hi Vipin,

Please see the documentation on authentication
https://confluence.dimagi.com/display/commcarepublic/Authentication.

regards,
Cory

··· On Fri, Jun 10, 2016 at 11:15 AM, Vipin Gupta wrote:

Hi,

As per our requirements we want to pull data from CommCare and push to our
reporting server. I went through CommCare documents and found that it is
possible and data can be fetch over URL (Link
https://wiki.commcarehq.org/display/commcarepublic/Form+Data)

I am not sure how we can pass user name and password to this URL so that
data is access through credentials only. Please advise.

--
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/d/optout.

Hi Cory,

Thanks for your reply.

Is it possible to get data over URL without Curl. My intention is to add
credentials in URL and bind that URL as JSON data feed to our reporting
server.

Thanks,
Vipin Gupta

··· On Friday, June 10, 2016 at 2:58:30 PM UTC+5:30, Cory Zue wrote: > > Hi Vipin, > > Please see the documentation on authentication > . > > regards, > Cory > > On Fri, Jun 10, 2016 at 11:15 AM, Vipin Gupta <vipi...@gmail.com > wrote: > >> Hi, >> >> >> >> As per our requirements we want to pull data from CommCare and push to >> our reporting server. I went through CommCare documents and found that it >> is possible and data can be fetch over URL (Link >> ) >> >> >> >> I am not sure how we can pass user name and password to this URL so that >> data is access through credentials only. Please advise. >> >> -- >> 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-user...@googlegroups.com . >> For more options, visit https://groups.google.com/d/optout. >> > >

Hey Vipin,

I believe that basic auth should work with the url-based specification.
e.g. https://user:pass@www.commcarehq.org/api-endpoint.

You don't have to use curl - these are standard authentication protocols
that should be supported in a wide variety of tools.

Cory

··· On Mon, Jun 13, 2016 at 10:07 AM, Vipin Gupta wrote:

Hi Cory,

Thanks for your reply.

Is it possible to get data over URL without Curl. My intention is to add
credentials in URL and bind that URL as JSON data feed to our reporting
server.

Thanks,
Vipin Gupta

On Friday, June 10, 2016 at 2:58:30 PM UTC+5:30, Cory Zue wrote:

Hi Vipin,

Please see the documentation on authentication
https://confluence.dimagi.com/display/commcarepublic/Authentication.

regards,
Cory

On Fri, Jun 10, 2016 at 11:15 AM, Vipin Gupta vipi...@gmail.com wrote:

Hi,

As per our requirements we want to pull data from CommCare and push to
our reporting server. I went through CommCare documents and found that it
is possible and data can be fetch over URL (Link
https://wiki.commcarehq.org/display/commcarepublic/Form+Data)

I am not sure how we can pass user name and password to this URL so that
data is access through credentials only. Please advise.

--
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-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
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/d/optout.

Hi Cory,

Basic authentication is not working as it is redirecting me to login page
while providing user name and password in URL.

Also is there any documentation available for configuring api-endpoints.

Thanks,

Vipin Gupta

··· On Monday, June 13, 2016 at 3:44:10 PM UTC+5:30, Cory Zue wrote: > > Hey Vipin, > > I believe that basic auth should work with the url-based specification. > e.g. https://user:pass@www.commcarehq.org/api-endpoint. > > You don't have to use curl - these are standard authentication protocols > that should be supported in a wide variety of tools. > > Cory > > On Mon, Jun 13, 2016 at 10:07 AM, Vipin Gupta <vipi...@gmail.com > wrote: > >> Hi Cory, >> >> Thanks for your reply. >> >> Is it possible to get data over URL without Curl. My intention is to add >> credentials in URL and bind that URL as JSON data feed to our reporting >> server. >> >> Thanks, >> Vipin Gupta >> >> On Friday, June 10, 2016 at 2:58:30 PM UTC+5:30, Cory Zue wrote: >>> >>> Hi Vipin, >>> >>> Please see the documentation on authentication >>> . >>> >>> regards, >>> Cory >>> >>> On Fri, Jun 10, 2016 at 11:15 AM, Vipin Gupta wrote: >>> >>>> Hi, >>>> >>>> >>>> >>>> As per our requirements we want to pull data from CommCare and push to >>>> our reporting server. I went through CommCare documents and found that it >>>> is possible and data can be fetch over URL (Link >>>> ) >>>> >>>> >>>> >>>> I am not sure how we can pass user name and password to this URL so >>>> that data is access through credentials only. Please advise. >>>> >>>> -- >>>> 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-user...@googlegroups.com. >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> >>> -- >> 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-user...@googlegroups.com . >> For more options, visit https://groups.google.com/d/optout. >> > >

Vipin,

Based on the discussion here
http://serverfault.com/questions/371907/can-you-pass-user-pass-for-http-basic-authentication-in-url-parameters
it
looks like most (all?) browsers no longer support passing basic auth
parameters in the URL.

Cheers,
Will

··· On Fri, Oct 14, 2016 at 3:38 AM, Vipin Gupta wrote:

Hi Cory,

Basic authentication is not working as it is redirecting me to login page
while providing user name and password in URL.

Also is there any documentation available for configuring api-endpoints.

Thanks,

Vipin Gupta

On Monday, June 13, 2016 at 3:44:10 PM UTC+5:30, Cory Zue wrote:

Hey Vipin,

I believe that basic auth should work with the url-based specification.
e.g. https://user:pass@www.commcarehq.org/api-endpoint.

You don't have to use curl - these are standard authentication protocols
that should be supported in a wide variety of tools.

Cory

On Mon, Jun 13, 2016 at 10:07 AM, Vipin Gupta vipi...@gmail.com wrote:

Hi Cory,

Thanks for your reply.

Is it possible to get data over URL without Curl. My intention is to add
credentials in URL and bind that URL as JSON data feed to our reporting
server.

Thanks,
Vipin Gupta

On Friday, June 10, 2016 at 2:58:30 PM UTC+5:30, Cory Zue wrote:

Hi Vipin,

Please see the documentation on authentication
https://confluence.dimagi.com/display/commcarepublic/Authentication.

regards,
Cory

On Fri, Jun 10, 2016 at 11:15 AM, Vipin Gupta vipi...@gmail.com wrote:

Hi,

As per our requirements we want to pull data from CommCare and push to
our reporting server. I went through CommCare documents and found that it
is possible and data can be fetch over URL (Link
https://wiki.commcarehq.org/display/commcarepublic/Form+Data)

I am not sure how we can pass user name and password to this URL so
that data is access through credentials only. Please advise.

--
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-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
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-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
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/d/optout.