HTTP & JSON
httpResult
$httpResult[]
$httpResult provides access to the response from the most recent HTTP request. When called without arguments, it returns the raw response body as a string. When a key path is provided, it parses the response as JSON and navigates to the specified field using semicolons (;) as path separators. Numeric indices access array elements. Use $httpResult to extract meaningful data from API responses and display it with other BDFD functions.
Syntax
bdfd
$httpResult[key?]
Examples
Display API Result Body
$httpGet[https://dummyjson.com/quotes/random]
$title[Random Quote 📜]
$description[Response: `$httpResult`]
$color[#5865F2]
$sendMessage[]