Python
import requests url = "https://api.parser.expert/v1/upload" headers = { 'X-API-Key': 'sk-xxxx' } files = { 'file': open('/path/to/your/file.pdf', 'rb'), 'bucket_id': (None, '100202') } response = requests.post(url, headers=headers, files=files) print(response.text)
{ "data": { "parser_id": "f555c13a-846f-4505-95fe-8f72b39edef9" }, "message": "Extract upserted successfully" }
Upload data to the Parser Expert API. You can upload either a file or provide a webpage URL.
Extract upserted successfully
The response is of type object.
object