Forum Discussion
SmartBear_Suppo
Alumni
15 years agoHello,
I'm guessing that your service is a REST service? The documentation page you're referring to describes attachment handling for SOAP, which has a lot of different options for how the file is sent (the MTOM stuff etc.) which determines the Type, which is otherwise set to UNKNOWN. For REST, which is pretty much a basic HTTP request, attachments will be attached as fields in the form content when using the multipart/form-data content type. This behaviour will be the same as when using a HTML form which allows file uploading.
Regards,
Dain
eviware.com
I'm guessing that your service is a REST service? The documentation page you're referring to describes attachment handling for SOAP, which has a lot of different options for how the file is sent (the MTOM stuff etc.) which determines the Type, which is otherwise set to UNKNOWN. For REST, which is pretty much a basic HTTP request, attachments will be attached as fields in the form content when using the multipart/form-data content type. This behaviour will be the same as when using a HTML form which allows file uploading.
Regards,
Dain
eviware.com