Upload DWG or DXF file in M-Files using C#

I try to upload PDF, DWG and DXF file in M-Files.
PDF files are showing perfect, but DXW and DXF showing corrupted.

After upload using those Upload id to create document in M-Files

Parents Reply
  • If it works fine in Postman then there are no issues with the REST API, but there's obviously a difference in the resulting HTTP request in C# vs Postman.

    A HTTP debugging proxy would be my next step.  If you have it working in Postman then it's a matter of playing spot-the-difference between the working request in Postman and the non-working request in C#.  Once you know that core issue you can look at what you might need to change in the C# application.

Children
No Data