coding utf-8 import requests data id_player 4107 event_name payment st

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
# -*- coding: utf-8 -*-
import requests
data = {
"id_player": 4107,
"event_name": "payment.start",
"id_application": 17
}
r = requests.post("http://playrooms.ru/api/client/event/register", data)
print r.text.encode("utf-8")