# HTTP request with ASICE file

**URL:** https://community.gatling.io/t/http-request-with-asice-file/8327
**Category:** General discussions
**Created:** [September 25, 2023, 3:16pm UTC](https://community.gatling.io/t/http-request-with-asice-file/8327 "2023-09-25T15:16:04Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Phil](https://avatars.discourse-cdn.com/v4/letter/p/e95f7d/32.png) [@Phil](https://community.gatling.io/u/Phil)
#### Post date: [September 25, 2023, 3:16pm UTC](https://community.gatling.io/t/http-request-with-asice-file/8327/1 "2023-09-25T15:16:04Z")

</div>

Hello,

I’ve been trying to send an HTTP request with Gatling.  
This request contains a file whose extension is .asice (An .asice file contains one or more digital signature).

But I’m strugling to write this request. The body of the test is written in scala.  
Gatling shows this error when I run the test :

" Failed to build request PK?? mimetypeapplication/vnd.etsi.asic-e+zip"

So, In the header of the request, I’ve added the following MimeType :  
Content-Type: application/vnd.etsi.asic-e+zip  
But it doesn’t solve the problem.

Does someone knows how to write an HTTP request (with Gatling and Scala) wich contains this type of file ?

Thank you.

Phil

---

<div class="post-metadata">

### Author: ![slandelle](https://dub1.discourse-cdn.com/flex013/user_avatar/community.gatling.io/slandelle/32/4_2.png) [@slandelle](https://community.gatling.io/u/slandelle)
#### Post date: [September 25, 2023, 3:40pm UTC](https://community.gatling.io/t/http-request-with-asice-file/8327/2 "2023-09-25T15:40:36Z")

</div>

> [@Phil](#):
>
> Failed to build request PK?

This is not a message generated by Gatling but by your application. You’ll have to check there to make sense of it.

From Gatling’s POV, a body is just bytes.

---

<div class="post-metadata">

### Author: ![Phil](https://avatars.discourse-cdn.com/v4/letter/p/e95f7d/32.png) [@Phil](https://community.gatling.io/u/Phil)
#### Post date: [September 26, 2023, 8:49am UTC](https://community.gatling.io/t/http-request-with-asice-file/8327/3 "2023-09-26T08:49:25Z")

</div>

Hi slandelle,

Thank you for your answer

Regards,

Phil

---

<div class="post-metadata">

### Author: ![sbrevet](https://dub1.discourse-cdn.com/flex013/user_avatar/community.gatling.io/sbrevet/32/830_2.png) [@sbrevet](https://community.gatling.io/u/sbrevet)
#### Post date: [September 26, 2023, 10:48am UTC](https://community.gatling.io/t/http-request-with-asice-file/8327/4 "2023-09-26T10:48:02Z")

</div>


