Hi, looking for some tips for a beginner.
I’m trying to ultimately get to a HTTP request which follows the following format:
curl -X POST "https://integrations.expensify.com/Integration-Server/ExpensifyIntegrations" \
-d 'requestJobDescription={
"type": "update",
"credentials": {
"partnerUserID":"...",
"partnerUserSecret":"..."
},
"inputSettings": {
"type": "policy",
"policyID": "0123456789ABCDEF"
},
"tags": {
"action": "replace",
"source":"file",
"config": {
"dependency":true,
"glCodes":true,
"header":true,
"setRequired":true,
"fileType":"csv"
}
}
}' \
--data-urlencode 'file@tags.csv'
I have a simple workflow:
At the end of my HTTP post, I have replaced the line ‘–data-urlencode ‘file@tags.csv’’
with ’ --data-urlencode ‘file@{{33.text}}’ but this isn’t working (I get the response ‘“Tag file is missing”’)
Any ideas how I can push the output from from my CSV connector into the HTTP request as a file attachment?
Thank you!