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

amurphy147amurphy147 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

  • goofy78270goofy78270 Posts: 93

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

  • jakubiakjakubiak Posts: 669 admin

    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.

Sign In or Register to comment.