SSL VPN Split Tunneling and Office 365
Updated Jun 16, 2022
Version 2.0Was this article helpful?
Please shout when there's news from PM
Here's how we might work around it using python for the time being 🙂
import requests
import json
# Fetch the data from the web service
response = requests.get("https://endpoints.office.com/endpoints/worldwide?clientrequestid=b10c5ed1-bad1-445f-b386-b919946339a7")
# Parse the JSON data
data = json.loads(response.text)
# Create an empty list to hold the Optimize entries
optimize_entries = []
# Iterate over the entries in the data
for entry in data:
# Check if the entry is categorized as "Optimize"
if entry["category"] == "Optimize":
# Add the entry to the list
optimize_entries.append(entry)
# Convert the list of entries to JSON
optimize_json = json.dumps(optimize_entries)
# Print the JSON data
print(optimize_json)