OP 07 March, 2022 - 05:48 PM
url = "https://user.atlasvpn.com/v1/request/signup"
headers = {
'authority': 'user.atlasvpn.com',
'method': 'POST',
'path': '/v1/request/signup',
'scheme': 'https',
'accept': 'application/json, text/plain, */*',
'accept-encoding': 'gzip, deflate, br',
'accept-language': 'en-US,en;q=0.9,fr;q=0.8',
'content-length': '56',
'content-type': 'application/json;charset=UTF-8',
'origin': 'https://account.atlasvpn.com',
'referer': 'https://account.atlasvpn.com/',
'sec-ch-ua': '" Not A;Brand";v="99", "Chromium";v="98", "Google Chrome";v="98"',
'sec-ch-ua-mobile': '?0',
'sec-ch-ua-platform': '"Windows"',
'sec-fetch-dest': 'empty',
'sec-fetch-mode': 'cors',
'sec-fetch-site': 'same-site',
'user-agent': 'Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.102 Safari/537.36',
'x-client-id': 'Web'
}
login_Data = json.dumps({
'email': Email1,
'marketing_consent': 'false'
})
lock.acquire()
r = requests.post(url, data = login_Data, headers = headers)
i just wanna sign up, it throws a 400
idk headers seem fine , maybe im missing the content part
headers = {
'authority': 'user.atlasvpn.com',
'method': 'POST',
'path': '/v1/request/signup',
'scheme': 'https',
'accept': 'application/json, text/plain, */*',
'accept-encoding': 'gzip, deflate, br',
'accept-language': 'en-US,en;q=0.9,fr;q=0.8',
'content-length': '56',
'content-type': 'application/json;charset=UTF-8',
'origin': 'https://account.atlasvpn.com',
'referer': 'https://account.atlasvpn.com/',
'sec-ch-ua': '" Not A;Brand";v="99", "Chromium";v="98", "Google Chrome";v="98"',
'sec-ch-ua-mobile': '?0',
'sec-ch-ua-platform': '"Windows"',
'sec-fetch-dest': 'empty',
'sec-fetch-mode': 'cors',
'sec-fetch-site': 'same-site',
'user-agent': 'Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.102 Safari/537.36',
'x-client-id': 'Web'
}
login_Data = json.dumps({
'email': Email1,
'marketing_consent': 'false'
})
lock.acquire()
r = requests.post(url, data = login_Data, headers = headers)
i just wanna sign up, it throws a 400
idk headers seem fine , maybe im missing the content part