# Is it possible to invoke local with multipart/form-data

**URL:** <https://forum.serverless.com/t/is-it-possible-to-invoke-local-with-multipart-form-data/3376>\
**Category:** Serverless Framework\
**Tags:** aws\
**Created:** [December 22, 2017, 2:31pm UTC](https://forum.serverless.com/t/is-it-possible-to-invoke-local-with-multipart-form-data/3376 "2017-12-22T14:31:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![0l0r1n](https://avatars.discourse-cdn.com/v4/letter/0/e47774/32.png) [@0l0r1n](https://forum.serverless.com/u/0l0r1n)\
**Post date:** [December 22, 2017, 2:31pm UTC](https://forum.serverless.com/t/is-it-possible-to-invoke-local-with-multipart-form-data/3376/1 "2017-12-22T14:31:40Z")

</div>

Hi there,

I am trying to build a serverless function that should receive an event that contains some json data and at least 1 file. How do I create an event test file that I can invoke locally by passing it as an argument to ‘serverless invoke local --path’?
