# API - Get Categories without Descriptions

**URL:** https://meta.discourse.org/t/api-get-categories-without-descriptions/231425
**Category:** Development
**Tags:** rest-api
**Created:** [June 29, 2022, 8:01am UTC](https://meta.discourse.org/t/api-get-categories-without-descriptions/231425 "2022-06-29T08:01:50Z")
**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: [June 29, 2022, 8:40am UTC](https://meta.discourse.org/t/api-get-categories-without-descriptions/231425/2 "2022-06-29T08:40:38Z")

</div>

I think you need to use `params` and not `data`..

> [@Discourse API docs mention a "request body" for a GET request](https://meta.discourse.org/t/discourse-api-docs-mention-a-request-body-for-a-get-request/231137/13):
>
> GET always has a query string and never has post data (that is why you are getting 413 payload too large, it does not expect any). When querying data from a server without making a change you’ll (almost) always use GET and not POST. So you should use params= instead of data=. I think the docs for this specific API call are badly phrased (“[Request Body schema](https://docs.discourse.org/#tag/Topics/operation/getSpecificPostsFromTopic)” really indicates POST data) so I am moving this to #bug and you don’t need to pay me anything. import requests import json def get\_post\_…

---

_[View the full topic](https://meta.discourse.org/t/api-get-categories-without-descriptions/231425)._
