Guest User

Untitled

a guest
Jul 22nd, 2018
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. def get_bs():
  2. url = "https://us1.unwiredlabs.com/v2/process.php"
  3. mcc = '255'
  4. mnc = '01'
  5. lac = '12345'
  6. cid = '67890'
  7. payload = "{"token": "мой_токен","radio": "gsm","mcc": " + mcc + ","mnc": " + mnc + ","cells": [{"lac": " + lac + ","cid": " + cid + "}],"address": 1}"
  8. response = requests.request("POST", url, data=payload)
  9. return response.json()
Add Comment
Please, Sign In to add comment