# Group\_permissions using api in python

**URL:** <https://meta.discourse.org/t/group-permissions-using-api-in-python/81813>\
**Category:** Product Support\
**Created:** [February 28, 2018, 7:04pm UTC](https://meta.discourse.org/t/group-permissions-using-api-in-python/81813 "2018-02-28T19:04:18Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![David\_fs](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david_fs/32/88716_2.png) [@David\_fs](https://meta.discourse.org/u/David_fs)\
**Post date:** [March 2, 2018, 2:31pm UTC](https://meta.discourse.org/t/group-permissions-using-api-in-python/81813/6 "2018-03-02T14:31:48Z")

</div>

> [@riking](#):
>
> converting the parameters to a HTTP hash but a JSON string instead

The library is actually converting it to json. The problem is Discourse api doesn’t support content-type: application=/json requests it seems - I have searched on this forum and it’s been mentioned a few a times.

I have had to resort to manually building the url and using curl 😕

---

_[View the full topic](https://meta.discourse.org/t/group-permissions-using-api-in-python/81813)._
