# How to retrieve JSON on api.ps3838.com

**URL:** <https://community.postman.com/t/how-to-retrieve-json-on-api-ps3838-com/12315>\
**Category:** Help Hub\
**Tags:** authentication\
**Created:** [May 1, 2020, 3:27am UTC](https://community.postman.com/t/how-to-retrieve-json-on-api-ps3838-com/12315 "2020-05-01T03:27:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kynao](https://avatars.discourse-cdn.com/v4/letter/k/4da419/32.png) [@Kynao](https://community.postman.com/u/Kynao)\
**Post date:** [May 1, 2020, 3:27am UTC](https://community.postman.com/t/how-to-retrieve-json-on-api-ps3838-com/12315/1 "2020-05-01T03:27:34Z")

</div>

Hello,

I give Postman a try with a POST on [https://api.ps3838.com/](https://api.ps3838.com/) in order to login.  
ps3838 is a RESTful service belonging to Pinnacle and is documented here [https://github.com/pinnacleapi/pinnacleapi-documentation](https://github.com/pinnacleapi/pinnacleapi-documentation).

The login works fine (Status 200 ok), the problem is the result follows html format instead of JSON.  
result being :

Anyone having an idea or already had this difficulty?

---

<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:** [May 2, 2020, 2:52am UTC](https://community.postman.com/t/how-to-retrieve-json-on-api-ps3838-com/12315/2 "2020-05-02T02:52:04Z")

</div>

Did you set this header?

```auto
    Accept: application/json

```

---

<div class="post-metadata">

**Author:** ![Kynao](https://avatars.discourse-cdn.com/v4/letter/k/4da419/32.png) [@Kynao](https://community.postman.com/u/Kynao)\
**Post date:** [May 2, 2020, 5:19am UTC](https://community.postman.com/t/how-to-retrieve-json-on-api-ps3838-com/12315/3 "2020-05-02T05:19:38Z")

</div>

Thank you vdespa. Yes i did but i suspect they don’t provide json as answer for the login call as i tested some other rest calls and it works fine
