# Unable to lock post with API

**URL:** <https://meta.discourse.org/t/unable-to-lock-post-with-api/228974>\
**Category:** Product Support\
**Created:** [June 3, 2022, 7:19pm UTC](https://meta.discourse.org/t/unable-to-lock-post-with-api/228974 "2022-06-03T19:19:28Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![mksafi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mksafi/32/244062_2.png) [@mksafi](https://meta.discourse.org/u/mksafi)\
**Post date:** [June 4, 2022, 4:18pm UTC](https://meta.discourse.org/t/unable-to-lock-post-with-api/228974/5 "2022-06-04T16:18:16Z")

</div>

Thank you for your help Richard!

> [@RGJ](#):
>
> `Content-Type: application/x-www-form-urlencoded` which will interpret the parameter as a string

TIL!

And I’ll look into PRing an update to the docs.

---

_[View the full topic](https://meta.discourse.org/t/unable-to-lock-post-with-api/228974)._
