Windows-powershell / PowerShell-master /src /Microsoft.PowerShell.Commands.Utility /commands /utility /WebCmdlet /WebRequestMethod.cs
Download PowerShell-master/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/WebRequestMethod.cs from MegaBites-AI/Windows-powershell: direct link, hf CLI and curl.
- Browser
- Download file 1.13 kB
-
https://huggingface.co/datasets/MegaBites-AI/Windows-powershell/resolve/main/PowerShell-master/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/WebRequestMethod.cs
- Command line
-
hf download hf://datasets/MegaBites-AI/Windows-powershell/PowerShell-master/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/WebRequestMethod.cs
-
curl -L -o WebRequestMethod.cs https://huggingface.co/datasets/MegaBites-AI/Windows-powershell/resolve/main/PowerShell-master/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/WebRequestMethod.cs
1.13 kB
| // Copyright (c) Microsoft Corporation. | |
| // Licensed under the MIT License. | |
| namespace Microsoft.PowerShell.Commands | |
| { | |
| /// <summary> | |
| /// Enums for web request method. | |
| /// </summary> | |
| public enum WebRequestMethod | |
| { | |
| /// <summary> | |
| /// Default method. | |
| /// </summary> | |
| Default, | |
| /// <summary> | |
| /// GET method. | |
| /// </summary> | |
| Get, | |
| /// <summary> | |
| /// HEAD method. | |
| /// </summary> | |
| Head, | |
| /// <summary> | |
| /// POST method. | |
| /// </summary> | |
| Post, | |
| /// <summary> | |
| /// PUT method. | |
| /// </summary> | |
| Put, | |
| /// <summary> | |
| /// DELETE method. | |
| /// </summary> | |
| Delete, | |
| /// <summary> | |
| /// TRACE method. | |
| /// </summary> | |
| Trace, | |
| /// <summary> | |
| /// OPTIONS method. | |
| /// </summary> | |
| Options, | |
| /// <summary> | |
| /// MERGE method. | |
| /// </summary> | |
| Merge, | |
| /// <summary> | |
| /// PATCH method. | |
| /// </summary> | |
| Patch, | |
| } | |
| } | |