UrlReaderService.readUrl()
Home > @backstage/backend-plugin-api
> UrlReaderService
> readUrl
Reads a single file and return its content.
Signature:
readUrl(url: string, options?: UrlReaderServiceReadUrlOptions): Promise<UrlReaderServiceReadUrlResponse>;
Parameters
Parameter |
Type |
Description |
---|---|---|
url |
string | |
options |
(Optional) |
Promise<UrlReaderServiceReadUrlResponse>