# Enter two values in a single key

**URL:** <https://community.postman.com/t/enter-two-values-in-a-single-key/3591>\
**Category:** Help Hub\
**Created:** [December 13, 2018, 8:07pm UTC](https://community.postman.com/t/enter-two-values-in-a-single-key/3591 "2018-12-13T20:07:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![marcosvalens](https://avatars.discourse-cdn.com/v4/letter/m/e95f7d/32.png) [@marcosvalens](https://community.postman.com/u/marcosvalens)\
**Post date:** [December 13, 2018, 8:07pm UTC](https://community.postman.com/t/enter-two-values-in-a-single-key/3591/1 "2018-12-13T20:07:30Z")

</div>

I am trying to make a request to a server using PostMan, normally I have no problems using it, but sometimes it happens that in my code (JavaScript), I need to make a request which has an object in the body of this request and I do not know how to do it that PostMan accepts these types of values.

Let’s say that my code is something like this:

```
let objTract = {
        MethodName: 'sendAPI',
        params: {
            url:'url:https://api.clashroyale.com/v1/players/%23QR8PPVRL',
            token: Bearer tokenCode
        }
    };

const response = await fetch("https://esliceu.codiblau.com/clashRoyale.php", {
    method: 'POST',
    body: JSON.stringify(objTract),
    headers: {
        "Content-Type": "application/x-www-form-urlencoded"
    }
});

```

How would it be to make a request of this kind with PostMan? Thank you!!

---

<div class="post-metadata">

**Author:** ![matt](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/matt/32/2562_2.png) [@matt](https://community.postman.com/u/matt)\
**Post date:** [December 14, 2018, 7:22pm UTC](https://community.postman.com/t/enter-two-values-in-a-single-key/3591/2 "2018-12-14T19:22:39Z")

</div>

You need to set up your request body:  
[https://learning.getpostman.com/docs/postman/sending\_api\_requests/requests/#raw](https://learning.getpostman.com/docs/postman/sending_api_requests/requests/#raw)

Make sure you choose `raw`, and `JSON` from the drop down.
