Introducing the all-new TIBCO Community site!

For current users, please click "Sign In" to reset your password and access the enhanced features. If you're a first-time visitor, we extend a warm welcome—click "Sign Up" to become a part of the TIBCO Community!

If you're seeking alternative community sites, explore ibi, Jaspersoft, and Spotfire.

Jump to content

HTTP request with attachment


Franck -

Recommended Posts

Hi,

The following http request sending a file in attachement is working fine when used with CURL:

curl.exe -X POST -H "x-auth-token: fa8cb63c-b524-40a6-9d59-456389631b71" -H "Content-Type: multipart/form-data" -F "fichier=@C:tmptest.txt" -F "metadonnees=@C:tmpDepot_FXSTD_E_FIN_OPEF.json;type=application/json" https://re7-advantage-taxe.sigma.fr/....

Trying to do the same with BW, I don't see where should I put the information "metadonnees=@C:tmpDepot_FXSTD_E_FIN_OPEF.json;type=application/json" in the input tab of http request.

Any idea please

Thanks

Link to comment
Share on other sites

  • 3 years later...

hi,

I'm facing a similar issue. I have a batch file that is using curl --cacert $CACERT -u ${USER}:${PASS} -F "datafile=@${DATAFILE}" -F "configId=${CONFIGID}" -x "$PROXY" "$UPLOAD_URL" for sending a file. I need to do it with tibco bw. didyou get to find a solution for it thanks a lot.

Kind Regards

Link to comment
Share on other sites

×
×
  • Create New...