Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html)

## [0.5.2] - 2025-09-08

### Fixed

- Added 'post' to methods for pagination in Invoke-IDNWRestMethod ([#45](https://github.com/EUCTechTopics/PSIdentityNow/pull/45))

[0.5.2]: https://github.com/EUCTechTopics/PSIdentityNow/releases/tag/v0.5.2

## [0.5.1] - 2025-04-10

### Fixed
Expand Down Expand Up @@ -77,4 +85,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added

- Initial Version
- Initial Version
4 changes: 2 additions & 2 deletions PSIdentityNow/PSIdentityNow.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
RootModule = 'PSIdentityNow.psm1'

# Version number of this module.
ModuleVersion = '0.5.1'
ModuleVersion = '0.5.2'

# Supported PSEditions
CompatiblePSEditions = 'Core'
Expand Down Expand Up @@ -128,4 +128,4 @@
# Default prefix for commands exported from this module. Override the default prefix using Import-Module -Prefix.
# DefaultCommandPrefix = ''

}
}
4 changes: 2 additions & 2 deletions PSIdentityNow/Public/Invoke-IDNWRestMethod.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ function Invoke-IDNWRestMethod {
# Pagination loop
do {
# Combine parameters into query string
if ($Method -eq "GET") {
if ($Method -in @("GET","POST")) {
$queryString = ($UrlParams.GetEnumerator() | ForEach-Object {
[string]::Format("{0}={1}", $_.Key, [uri]::EscapeUriString($_.Value))
}) -join "&"
Expand Down Expand Up @@ -226,4 +226,4 @@ function Invoke-IDNWRestMethod {
# Return all results
Remove-Variable -Name Headers -Force
Write-Output $AllResults
}
}