Skip to content

Commit e789167

Browse files
Correct URL in python up-toolkit to match its sister sample
1 parent ed3e338 commit e789167

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Python/Endpoint Examples/JSON Payload/up-toolkit.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
import 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

1414
print("Sending GET request to /up-toolkit endpoint...")
1515
response = requests.get(up_url)

0 commit comments

Comments
 (0)