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

Invoke REST API - form-data - send file

Jason Smith 8

Recommended Posts

Good morning. I am facing an issue in an Invoke REST API activity and have tried all combination of ways to submit. There is a REST API that I need to call to POST a .csv file. I have attached a successful Postman request. The API just requires the OAuth2 bearer token and the file that is being submitted. I cannot for the life of me figure out how to accomplish this in Tibco BW. The error message I receive is "Content-Type multipart/form-data; boundary=Boundary_1_1329868862_1601305518435 not supported.". I do call a couple other REST APIs successfully passing the bearer token, so I feel like it's just the way that I am attempting to send the file. Any guidance on how I need to format the Invoke REST API POST request would be greatly appreciated.




{"message":"Content-Type multipart/form-data; boundary=Boundary_1_1329868862_1601305518435 not supported."}

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...