Submit and vote on feature ideas.

Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.

Is there support for sending .xlsm files using the REST client?

Options
amurphy147
amurphy147 Posts: 18

Hello,

I'm trying to test against a service that expects a file in the request. The file's extension is .xlsm. The REST client didn't seem to be able to send a file with that extension. I was able to send other files (e.g. .txt, .xls, .xlsx) without a problem. So I added the following content-type in Parasoft>Prefences>MIME Types to see if it'll enable the REST client to send over the .xlsm file: application/vnd.ms-excel.sheet.macroEnabled.12. I restarted SOAtest and tried to send it again. No cigar.

Is there any other configuration I have to make other than adding the MIME type in Preferences?

Comments

  • goofy78270
    goofy78270 Posts: 133
    Options

    try "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"

  • jakubiak
    jakubiak Posts: 801 admin
    Options

    The other thing I would ensure is that you configure "xlsm" as the extension for the new MIME type that you add in the SOAtest preferences.