OpenFn / adaptors

The new home for OpenFn adaptors; re-usable connectors for the most common DPGs and DPI building blocks.
GNU General Public License v3.0
7 stars 8 forks source link

commcare: Create a generic request function #751

Closed hunterachieng closed 3 weeks ago

hunterachieng commented 2 months ago

Background, context, and business value

Create a generic request function in the commcare adaptor

The specific request, in as few words as possible

We currently do not have a common request function which would allow us to implement more features api calls using commcare

aleksa-krolls commented 2 months ago

@hunterachieng as discussed, please implement this in the adaptor so we can send generic GET/POST/PUT requests. This will be good to generally implement, as well as unblock us on HIH.

hunterachieng commented 1 month ago

We have created 2 functions, request for normal json body requests and bulk for both submitxls and lookup-table updates

aleksa-krolls commented 3 weeks ago

hey @hunterachieng can we close this out?