# Gatling multipart/related request

**URL:** <https://community.gatling.io/t/gatling-multipart-related-request/1426>\
**Category:** Gatling (Open-Source)\
**Created:** [September 16, 2014, 4:24pm UTC](https://community.gatling.io/t/gatling-multipart-related-request/1426 "2014-09-16T16:24:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Srinivas\_Archak](https://avatars.discourse-cdn.com/v4/letter/s/e274bd/32.png) [@Srinivas\_Archak](https://community.gatling.io/u/Srinivas_Archak)\
**Post date:** [September 16, 2014, 4:24pm UTC](https://community.gatling.io/t/gatling-multipart-related-request/1426/1 "2014-09-16T16:24:18Z")

</div>

Can I use RawFileBodypart without the first parameter, name?

. exec(  
http(“CreatedocwithSource”)  
.post(“[https://financialdocument-prf.platform.intuit.net/v2/documents](https://financialdocument-prf.platform.intuit.net/v2/documents)”)  
.headers(ICNheaders)  
.bodyPart(RawFileBodyPart(,"/Users/sarchak/Desktop/work/FDP.xml").contentType(“application/xml”))  
.bodyPart(RawFileBodyPart(“image”,"/Users/sarchak/Desktop/work/DataLoginIdToCreate/1MbImage1.jpg").contentType(“image/jpeg”)))

my requiremnet is I need to upload an xml file as the first body part without filename and the second body part is a image with filename “image”.

How can I implement this in gatling?

Srinivas
