# Using the API, can't PUT to topic unless slug is on the URL

**URL:** <https://meta.discourse.org/t/using-the-api-cant-put-to-topic-unless-slug-is-on-the-url/50545>\
**Category:** Feature\
**Tags:** pr-welcome\
**Created:** [23 Septiembre, 2016 14:53 UTC](https://meta.discourse.org/t/using-the-api-cant-put-to-topic-unless-slug-is-on-the-url/50545 "2016-09-23T14:53:21Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)\
**Post date:** [27 Septiembre, 2016 19:49 UTC](https://meta.discourse.org/t/using-the-api-cant-put-to-topic-unless-slug-is-on-the-url/50545/7 "2016-09-27T19:49:49Z")

</div>

How is that a bug and not required syntax?

To work as expected routing depends on URLs to be in a certain format.

So this seems more like “change the way the API works with improper URLs” feature request than a bug to me.

---

_[View the full topic](https://meta.discourse.org/t/using-the-api-cant-put-to-topic-unless-slug-is-on-the-url/50545)._
