# API problem with curl

**URL:** <https://farmos.discourse.group/t/api-problem-with-curl/317>\
**Category:** Using farmOS\
**Created:** [April 28, 2020, 8:10am UTC](https://farmos.discourse.group/t/api-problem-with-curl/317 "2020-04-28T08:10:52Z")\
**Posts on this page:** 1\
**Showing post:** 17

<div class="post-metadata">

**Author:** ![paul121](https://avatars.discourse-cdn.com/v4/letter/p/54ee81/32.png) [@paul121](https://farmos.discourse.group/u/paul121)\
**Post date:** [May 3, 2020, 8:17pm UTC](https://farmos.discourse.group/t/api-problem-with-curl/317/17 "2020-05-03T20:17:42Z")

</div>

@bonushenricus great idea!! That’s a clever way of creating the JSON file with image metadata.

You inspired me to create a Python script to do this, too 😃

This creates an observation log with the image coordinates and timestamp. Also uploads the image

> <https://gist.github.com/paul121/408dacd4f87a6967257d2bc303148d6e>

---

_[View the full topic](https://farmos.discourse.group/t/api-problem-with-curl/317)._
