Skip to content

Commit

Permalink
Update Help
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Hunt committed Oct 23, 2023
1 parent 3333e7a commit e42cd63
Showing 1 changed file with 23 additions and 9 deletions.
32 changes: 23 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,18 +45,23 @@ Each `[[plan]]` lists:

### Invoke-HttpUnit

Aliases: httpunit, ihu, Test-Http

```text
SYNOPSIS
A PowerShell port of httpunit.
SYNTAX
Invoke-HttpUnit [-Url] <String> [[-Code] <String>] [[-String] <String>] [[-Headers] <Hashtable>] [[-Certificate]
<X509Certificate>] [<CommonParameters>]
Invoke-HttpUnit [-Url] <String> [[-Code] <String>] [[-String] <String>] [[-Headers] <Hashtable>] [[-Timeout] <TimeSpan>] [[-Certificate] <X509Certificate>]
[<CommonParameters>]
Invoke-HttpUnit [-Path] <String> [<CommonParameters>]
Invoke-HttpUnit [-Path] <String> [[-Tag] <String[]>] [<CommonParameters>]
DESCRIPTION
This is not a 100% accurate port of httpunit. The goal of this module is to utilize Net.Http.HttpClient to more
closely simulate a .Net client application. It also provides easy access to the Windows Certificate store for
client certificate authentication.
This is not a 100% accurate port of httpunit. The goal of this module is to utilize Net.Http.HttpClient to more closely simulate a .Net client application.
It also provides easy access to the Windows Certificate store for client certificate authentication.
PARAMETERS
Expand All @@ -69,6 +74,16 @@ PARAMETERS
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-Tag <String[]>
If specified, only runs plans that are tagged with one of the
tags specified.
Required? false
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Url <String>
The URL to retrieve.
Expand Down Expand Up @@ -115,11 +130,10 @@ PARAMETERS
Accept wildcard characters? false
-Certificate <X509Certificate>
For http/https, specifies the client certificate that is used for a secure web request. Enter a variable that
contains a certificate.
For http/https, specifies the client certificate that is used for a secure web request. Enter a variable that contains a certificate.
Required? false
Position? 5
Position? 6
Default value
Accept pipeline input? false
Accept wildcard characters? false
Expand Down

0 comments on commit e42cd63

Please sign in to comment.