File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Python/Endpoint Examples/JSON Payload Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 22import json
33
44# By default, we use the US-based API service. This is the primary endpoint for global use.
5- up_url = f "https://api.pdfrest.com/up-toolkit "
5+ api_url = "https://api.pdfrest.com"
66
77# For GDPR compliance and enhanced performance for European users, you can switch to the EU-based service by uncommenting the URL below.
88# For more information visit https://pdfrest.com/pricing#how-do-eu-gdpr-api-calls-work
9- #up_url = f "https://eu-api.pdfrest.com/up-toolkit "
9+ #api_url = "https://eu-api.pdfrest.com"
1010
1111# up-forms and up-office can be used to query the other tools
12- up_url = f"https://api.pdfrest.com /up-toolkit"
12+ up_url = f"{ api_url } /up-toolkit"
1313
1414print ("Sending GET request to /up-toolkit endpoint..." )
1515response = requests .get (up_url )
You can’t perform that action at this time.
0 commit comments