# Difference between documentation and snippet code

**URL:** <https://community.postman.com/t/difference-between-documentation-and-snippet-code/40049>\
**Category:** Help Hub\
**Tags:** documentation, snippet\
**Created:** [October 13, 2022, 6:41pm UTC](https://community.postman.com/t/difference-between-documentation-and-snippet-code/40049 "2022-10-13T18:41:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![daniel-wiiglo](https://avatars.discourse-cdn.com/v4/letter/d/65b543/32.png) [@daniel-wiiglo](https://community.postman.com/u/daniel-wiiglo)\
**Post date:** [October 13, 2022, 6:41pm UTC](https://community.postman.com/t/difference-between-documentation-and-snippet-code/40049/1 "2022-10-13T18:41:00Z")

</div>

I have no problem creating and using requests. However, when I transform them into documentation, I notice that there is a difference between the code snippets that appear when I create and use the requests and when I access them via my API’s documentation page. I’ve tried to repost, without success. I’ve even tried to force the Content-Type header (with the application/json content) in the request, but it still doesn’t appear in the documentation, as you can see in the attached image.

 ![postman_error](https://us1.discourse-cdn.com/getpostman/original/3X/f/7/f7fe11dbec728acbe4e7c33007920dca6ea46749.png)

The image below is what appears in the snippet of my requests. It was what I expected it to appear in the documentation.

 ![postman_error_expected](https://us1.discourse-cdn.com/getpostman/original/3X/d/c/dcf090000dd628d81eff2aff99afd89993a0ba1e.png)

I don’t know what I’m doing wrong. Any suggestions on how I can fix this?

---

<div class="post-metadata">

**Author:** ![daniel-wiiglo](https://avatars.discourse-cdn.com/v4/letter/d/65b543/32.png) [@daniel-wiiglo](https://community.postman.com/u/daniel-wiiglo)\
**Post date:** [October 20, 2022, 2:48pm UTC](https://community.postman.com/t/difference-between-documentation-and-snippet-code/40049/2 "2022-10-20T14:48:30Z")

</div>

is there any other way to open an issue?
