Data forwarding - How is data posted to the forward url?

Hi,

I have set the data forwarding URL in HQ.
The URL is triggered correctly. I am currently expecting something similar
to a form post but I get nothing that way.

Could you please tell me how to read the data posted to the URL? Is it a
file, raw data, etc…?

Thanks,

Guillaume

Hi Guillaume,

We’re doing a raw POST, so the form contents should be in the body of the
request (it is not like an HTTP form post).

Does that make sense?

More information can be found on the help site
https://help.commcarehq.org/display/commcarepublic/Enabling+Data+Integration
.

Also note that there can sometimes be delays between when a form is
received on HQ and when it is forwarded, depending on system load.

cory

··· On Thu, Jul 3, 2014 at 1:07 AM, Guillaume Deflaux < deflaux.guillaume@gmail.com> wrote:

Hi,

I have set the data forwarding URL in HQ.
The URL is triggered correctly. I am currently expecting something similar
to a form post but I get nothing that way.

Could you please tell me how to read the data posted to the URL? Is it a
file, raw data, etc…?

Thanks,

Guillaume


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.

Cory,

Thanks for your help. I manage to have this working fine.
Rails stores the post data in: request.raw_post

Regards,

Guillaume

··· On Thursday, July 3, 2014 6:15:54 AM UTC, Cory Zue wrote: > > Hi Guillaume, > > We're doing a raw POST, so the form contents should be in the body of the > request (it is not like an HTTP form post). > > Does that make sense? > > More information can be found on the help site > > . > > Also note that there can sometimes be delays between when a form is > received on HQ and when it is forwarded, depending on system load. > > cory > > > On Thu, Jul 3, 2014 at 1:07 AM, Guillaume Deflaux <deflaux....@gmail.com > wrote: > >> Hi, >> >> I have set the data forwarding URL in HQ. >> The URL is triggered correctly. I am currently expecting something >> similar to a form post but I get nothing that way. >> >> Could you please tell me how to read the data posted to the URL? Is it a >> file, raw data, etc...? >> >> Thanks, >> >> Guillaume >> >> -- >> 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. >> > >