How to Scrape a PDF File using the ChatPDF API with HTTP API
Hey all, I need help with HTTP API. I would like to scrape a PDF file, using the API of ChatPDF. I have the following values available:
Method
Endpoint
Request
API Key
1st question: Where do I put in the API key? It's in the Headers, isn't it? 2nd question: If I'm using the ChatPDF API, I need to add the URL to the Request I'm sending. Where do I add the URL? I have the URL as an output of URL scraping in another column in Clay. Is it the body then? If I would use the ChatPDF API directly with cURL or Node.js, I would send the following request:
{ "url": "https://pdfurl.nameofpdf.pdf" }
How does this work with HTTP Api then? Thanks for your help!