ContributionsMost RecentMost LikesSolutionsRe: Problem with content-type when attaching file to SoapUI rest request Hi, thank you for your reply. I did edit the Content-type column in the attachment tab earlier but I could'n succeed sending the file. Can you please have a look at the 2 attached files below - 1 with my request and the other with the raw of it and tell me where am I missing something? Thank you! Re: Problem with content-type when attaching file to SoapUI rest request Thank you Nastya! I have already tried that way, and this is exactly the way I am working with, but it didn't help. Problem with content-type when attaching file to SoapUI rest request Problem with content-type when attaching file to SoapUI rest request Hello, can somebody help me with the following issue that I have when trying to attach a file to Rest Post request? I want to attach a .png file to my rest request in SoapUI free version, the problem is that SoapUI puts in the Raw of the request Content-Type: image/x-png instead of image/png It looks like this in the Raw tab: Content-Type: image/x-png Content-Transfer-Encoding: binary Content-Disposition: form-data; name="energy.png"; filename="energy.png" and my server is expecting content-type image/png, for which reason I am getting error: errorMessage": "File must be in one of the following formats: [image/png] I have a QUERY parameter in my request with value file:filename, where filename is the complete path to the file on the local hard drive (that was the way to avoid appending the file name together with file type in the Content-type in Raw) Thank you! Problem with content-type when attaching file to SoapUI rest request Hello, can somebody help me with the following issue that I have when trying to attach a file to Rest Post request? I want to attach a .png file to my rest request in SoapUI free version, the problem is that SoapUI puts in the Raw of the request Content-Type: image/x-png instead of image/png It looks like this in the Raw tab: Content-Type: image/x-png Content-Transfer-Encoding: binary Content-Disposition: form-data; name="energy.png"; filename="energy.png" and my server is expecting content-type image/png, for which reason I am getting error: errorMessage": "File must be in one of the following formats: [image/png] I have a QUERY parameter in my request with value file:filename, where filename is the complete path to the file on the local hard drive (that was the way to avoid appending the file name together with file type in the Content-type in Raw) Thank you!