# Uploading a local image using the API

**URL:** <https://meta.discourse.org/t/uploading-a-local-image-using-the-api/127071>\
**Category:** Development\
**Created:** [August 28, 2019, 10:37pm UTC](https://meta.discourse.org/t/uploading-a-local-image-using-the-api/127071 "2019-08-28T22:37:28Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [August 29, 2019, 3:52am UTC](https://meta.discourse.org/t/uploading-a-local-image-using-the-api/127071/2 "2019-08-29T03:52:08Z")

</div>

Unless there is some reason you cannot, I recommend looking at the import script directory to see importers that use json files. It’ll be easier than the API.

---

_[View the full topic](https://meta.discourse.org/t/uploading-a-local-image-using-the-api/127071)._
