Skip to content

Instantly share code, notes, and snippets.

@mehanalavimajd
Created September 7, 2022 16:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mehanalavimajd/7d9e6dd0d4d97e3edb103e2771f953b7 to your computer and use it in GitHub Desktop.
Save mehanalavimajd/7d9e6dd0d4d97e3edb103e2771f953b7 to your computer and use it in GitHub Desktop.
import requests as r
x = r.post("https://api.divar.ir/v5/auth/authenticate", json={"phone":"NUMBER_IN_STRING"})
print(x.text)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment