PowerShell
PowerShell
ISBNdb API v2 Get Book Details
See more HTTP Misc Examples
Demonstrates how to send a GET request to the ISBNdb API v2 with Authorization header.Chilkat PowerShell Downloads
Add-Type -Path "C:\chilkat\ChilkatDotNet47-x64\ChilkatDotNet47.dll"
# This example assumes the Chilkat API to have been previously unlocked.
# See Global Unlock Sample for sample code.
$http = New-Object Chilkat.Http
$http.SetRequestHeader("Authorization","YOUR_REST_KEY")
$jsonStr = $http.QuickGetStr("https://api2.isbndb.com/book/9780134093413")
if ($http.LastMethodSuccess -eq $false) {
$($http.LastErrorText)
exit
}
$("Response status code: " + $http.LastStatus)
$("Response JSON:")
$($jsonStr)