<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Upload a docx file to Netapp using NetApp ONTAP REST API in ONTAP Rest API Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/Upload-a-docx-file-to-Netapp-using-NetApp-ONTAP-REST-API/m-p/460140#M732</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am using ONTAP 9.11 and trying to upload a docx file to a netapp volume using the following REST API via postman:&lt;BR /&gt;POST api/storage/volumes/volumeid/files.&lt;BR /&gt;Content Type is multipart/form-data and the body is form-data with a key of file. The value is the actual file.&lt;/P&gt;&lt;P&gt;I am receiving an error when attempting this:&amp;nbsp;&lt;BR /&gt;&lt;SPAN class=""&gt;400 -&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;Could Not Parse multipart/form-data body&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;When I upload a .txt file it works fine with 201 - Created response.&lt;BR /&gt;Is it possible to upload a docx file?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 15 Apr 2025 15:22:23 GMT</pubDate>
    <dc:creator>rsh</dc:creator>
    <dc:date>2025-04-15T15:22:23Z</dc:date>
    <item>
      <title>Upload a docx file to Netapp using NetApp ONTAP REST API</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/Upload-a-docx-file-to-Netapp-using-NetApp-ONTAP-REST-API/m-p/460140#M732</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am using ONTAP 9.11 and trying to upload a docx file to a netapp volume using the following REST API via postman:&lt;BR /&gt;POST api/storage/volumes/volumeid/files.&lt;BR /&gt;Content Type is multipart/form-data and the body is form-data with a key of file. The value is the actual file.&lt;/P&gt;&lt;P&gt;I am receiving an error when attempting this:&amp;nbsp;&lt;BR /&gt;&lt;SPAN class=""&gt;400 -&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;Could Not Parse multipart/form-data body&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;When I upload a .txt file it works fine with 201 - Created response.&lt;BR /&gt;Is it possible to upload a docx file?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Apr 2025 15:22:23 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/Upload-a-docx-file-to-Netapp-using-NetApp-ONTAP-REST-API/m-p/460140#M732</guid>
      <dc:creator>rsh</dc:creator>
      <dc:date>2025-04-15T15:22:23Z</dc:date>
    </item>
  </channel>
</rss>

