Xojo Plugin
Xojo Plugin
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 Xojo Plugin Downloads
// This example assumes the Chilkat API to have been previously unlocked.
// See Global Unlock Sample for sample code.
Dim http As New Chilkat.Http
http.SetRequestHeader "Authorization","YOUR_REST_KEY"
Dim jsonStr As String
jsonStr = http.QuickGetStr("https://api2.isbndb.com/book/9780134093413")
If (http.LastMethodSuccess = False) Then
System.DebugLog(http.LastErrorText)
Return
End If
System.DebugLog("Response status code: " + Str(http.LastStatus))
System.DebugLog("Response JSON:")
System.DebugLog(jsonStr)