# Sent token based request to API

**URL:** <https://community.postman.com/t/sent-token-based-request-to-api/13356>\
**Category:** Help Hub\
**Tags:** python, token\
**Created:** [June 12, 2020, 3:29pm UTC](https://community.postman.com/t/sent-token-based-request-to-api/13356 "2020-06-12T15:29:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![yovell04](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/yovell04/32/4699_2.png) [@yovell04](https://community.postman.com/u/yovell04)\
**Post date:** [June 12, 2020, 3:29pm UTC](https://community.postman.com/t/sent-token-based-request-to-api/13356/1 "2020-06-12T15:29:23Z")

</div>

I have a Django rest framework with a simple token-based auth.  
I’m getting the token key but I can’t for the life of me make a request with it to the API.  
This is my request.

 ![Screenshot from 2020-06-12 18-26-00](https://us1.discourse-cdn.com/getpostman/original/2X/f/f37552fbbb068f4d5313f86dceb4dc7d17cde0c3.png)

Just for completeness, the key:

 ![Screenshot from 2020-06-12 18-26-43](https://us1.discourse-cdn.com/getpostman/original/2X/d/daf06c0a42bc771c55b076511feb614c5f6ef6a6.png)

I’ve tried using the auth section in the app as seen in the picture and I also tried adding it as header alone and got the same result.

---

<div class="post-metadata">

**Author:** ![vdespa](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/vdespa/32/2770_2.png) [@vdespa](https://community.postman.com/u/vdespa)\
**Post date:** [June 13, 2020, 3:33am UTC](https://community.postman.com/t/sent-token-based-request-to-api/13356/2 "2020-06-13T03:33:49Z")

</div>

You need to create a POST request and your request body must contain the key in the JSON format specified in the documentation.

You are currently sending your token in the headers but this API expects the token in the body.
