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 for Multipart FormData


Recommended Posts

Hi All,

 

I'm trying to call a REST API which only acceptsContent-Type: multipart/form-data, i know that i've to send the request in the MIME part of the SendHTTP Request, but can anyone help me with exactly how the request would look like Also doi need to define any boundaries while sending the request

 

Thanks

Mahesh

Link to comment
Share on other sites

I believe you want to setup your multipart form like so...

If your equivalent cURL statement looks like below,

 

curl -X POST https://login.microsoftonline.com//oauth2/token

-F grant_type=client_credentials

-F resource=https://management.core.windows.net/

-F client_id=

-F client_secret=then your Send HTTP Request will look like this:

 

Ref:https://community.tibco.com/questions/bw6-interface-azure-data-lake-store

Link to comment
Share on other sites

Hi Wkarasz,

 

Thanks for the reference, but i've tried this and it does not work. What i want is to send a HTTP request that follows content-Type as Multipart-formdata. Now i checked online and looks like this is mime, but still not sure how to send the data. Right now i'm using QueryString to send the data and so far its doing the job, but there is a length limitation on the same. Hence looking for alternatives.

 

 

 

Thanks

 

Mahesh

Link to comment
Share on other sites

  • 1 year later...
×
×
  • Create New...