feat(v1/webhook): complex webhook object w/ headers (#899)
* feat(v1/webhook): complex webhook object w/ headers * feat(js-sdk/crawl): add complex webhook support
This commit is contained in:
@@ -153,7 +153,10 @@ export interface CrawlParams {
|
||||
allowExternalLinks?: boolean;
|
||||
ignoreSitemap?: boolean;
|
||||
scrapeOptions?: CrawlScrapeOptions;
|
||||
webhook?: string;
|
||||
webhook?: string | {
|
||||
url: string;
|
||||
headers?: Record<string, string>;
|
||||
};
|
||||
deduplicateSimilarURLs?: boolean;
|
||||
ignoreQueryParameters?: boolean;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user