Helper function to fetch Request Object JWT from request_uri. Supports GET and POST methods, with optional wallet metadata for POST.
URI to fetch Request Object from
Fetch options including method and wallet metadata
The Request Object JWT as a string
If the server returns a non-200 status code
If the underlying fetch/createFetcher call fails (for example, due to network errors)
Helper function to fetch Request Object JWT from request_uri. Supports GET and POST methods, with optional wallet metadata for POST.