# \#snippet

**URL:** https://community.postman.com/tag/snippet/267.md

[Latest](https://community.postman.com/latest.md) · [Categories](https://community.postman.com/categories.md) · [Tags](https://community.postman.com/tags.md)

---

## [PowerShell - RestMethod Code snippet doesn't work](https://community.postman.com/t/powershell-restmethod-code-snippet-doesnt-work/66716)

<div class="topic-metadata">

**Author:** [@osiuser](https://community.postman.com/u/osiuser)\
**Replies:** 2\
**Last updated:** [August 22, 2024, 1:12pm UTC](https://community.postman.com/t/powershell-restmethod-code-snippet-doesnt-work/66716 "2024-08-22T13:12:08Z")

</div>

Hi guys, I use PowerShell - RestMethod Code Snippet to get PoserShell code. But it doesn’t work. Below is what concerns me: The code doesn’t include Content-Type to the header if it’s set The code uses the below $…

---

## [Can snippet C#-HTTPClient call in Console Application](https://community.postman.com/t/can-snippet-c-httpclient-call-in-console-application/60395)

<div class="topic-metadata">

**Author:** [@zjz-postman](https://community.postman.com/u/zjz-postman)\
**Replies:** 4\
**Last updated:** [May 2, 2024, 1:46pm UTC](https://community.postman.com/t/can-snippet-c-httpclient-call-in-console-application/60395 "2024-05-02T13:46:02Z")

</div>

Postman can convert an API request into a code snippet, such as C#-HTTPClient. We can use the generated code snippet in Web application to make calls to an API. But I’m wondering if this can be made from a C# Console Ap…

---

## [Code for Send and Download](https://community.postman.com/t/code-for-send-and-download/60445)

<div class="topic-metadata">

**Author:** [@zjz-postman](https://community.postman.com/u/zjz-postman)\
**Replies:** 1\
**Last updated:** [April 29, 2024, 2:14pm UTC](https://community.postman.com/t/code-for-send-and-download/60445 "2024-04-29T14:14:58Z")

</div>

In Postman, I’m able to download a channel file to a folder by clicking the button “Send and Download” instead of button “Send”. But no file is download in my local folder using the generated code snippets( C# HTTP C…

---

## [Difference between documentation and snippet code](https://community.postman.com/t/difference-between-documentation-and-snippet-code/40049)

<div class="topic-metadata">

**Author:** [@daniel-wiiglo](https://community.postman.com/u/daniel-wiiglo)\
**Replies:** 1\
**Last updated:** [October 20, 2022, 2:48pm UTC](https://community.postman.com/t/difference-between-documentation-and-snippet-code/40049 "2022-10-20T14:48:30Z")

</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 ac…

---

## [Feature Request: Generate PowerShell Snippet](https://community.postman.com/t/feature-request-generate-powershell-snippet/4370)

<div class="topic-metadata">

**Author:** [@kenmaglio](https://community.postman.com/u/kenmaglio)\
**Replies:** 0\
**Last updated:** [March 6, 2019, 6:22am UTC](https://community.postman.com/t/feature-request-generate-powershell-snippet/4370 "2019-03-06T06:22:29Z")

</div>

Please see the following on github There is a good amount of community support for this and I could assist in contributing if possible to help build this feature. Windows developers, PowerShell users, would really bene…
