Take any .md file in the endpoints directory and run the snippet and it will result in a 403 Forbidden.
Why? Because: 1. the 'User-Agent' header should be empty and 2. the base endpoint url should start with the www subdomain
# currently
import requests
data = {
"secret": "Wmfd2893gb7",
"targetAccountID": 173831
}
req = requests.post('http://boomlings.com/database/getGJUserInfo20.php', data=data)
print(req.text)
# what it should be
import requests
data = {
"secret": "Wmfd2893gb7",
"targetAccountID": 173831
}
req = requests.post('http://www.boomlings.com/database/getGJUserInfo20.php', data=data, headers={"User-Agent": ""})
print(req.text)
notice the www subdomain and headers argument
not a pressing issue but it isn't so good if the docs' code snippets don't work
Take any .md file in the endpoints directory and run the snippet and it will result in a 403 Forbidden.
Why? Because: 1. the 'User-Agent' header should be empty and 2. the base endpoint url should start with the www subdomain
notice the www subdomain and headers argument
not a pressing issue but it isn't so good if the docs' code snippets don't work