# Request : response.content on JSON format?

**URL:** <https://forum.robotframework.org/t/request-response-content-on-json-format/4212>\
**Category:** RequestsLibrary\
**Created:** [18 July 2022 13:39 UTC](https://forum.robotframework.org/t/request-response-content-on-json-format/4212 "2022-07-18T13:39:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Centaure13](https://avatars.discourse-cdn.com/v4/letter/c/58956e/32.png) [@Centaure13](https://forum.robotframework.org/u/Centaure13)\
**Post date:** [18 July 2022 13:39 UTC](https://forum.robotframework.org/t/request-response-content-on-json-format/4212/1 "2022-07-18T13:39:24Z")

</div>

Hello,

On my RF tests, I have this piece of code :

\*\*\*\* Keyword \*\*\*\*

Authentication  
`${header}= Create Dictionary Content-Type=application/json;charset=utf-8 Accept=application/json;charset=utf-8`  
`Create Session mysession ${base_url} headers=${header} proxies=${proxyDict} verify=True ${param}= Create Dictionary partenaire=code_part`  
`${response}= GET On Session mysession url=MyURL params=${param}`  
`Log To Console ${response.content}`

My problem is that on the console, the reponse is on string format (not on JSON as wanted).  
I know that response.content is a string which content a json isn’t it ?

How can I display on the console the JSON format (with specific indentation etc…)  
I tried to use `Convert String to Json` but it doesn’t work…

Thanks a lot.

John.
