Navigation X
ALERT
Click here to register with a few steps and explore all our cool stuff we have to offer!



   187

Python Query on POST

by Blepop - 07 March, 2022 - 05:48 PM
This post is by a banned member (Blepop) - Unhide
Blepop  
Galactic
4.050
Posts
2.148
Threads
5 Years of service
#1
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
[Image: S6IAC.gif]
Ad by firewizard 
This post is by a banned member (Psycho) - Unhide
This post is by a banned member (B_adr) - Unhide

Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
or
Sign in
Already have an account? Sign in here.


Forum Jump:


Users browsing this thread: 1 Guest(s)