import requests
import json
import time


class Req:

    def __init__(self, link_id, link):
        self.link_id = link_id
        self.link = link
        self.unix_time = time.time()

    def req_to_1c(self):

        url = 'http://localhost/test_post/hs/app'

        data_req = {
            'link_id': self.link_id,
            'link': self.link,
            'unix_time': self.unix_time,
        }

        req = json.dumps(data_req)

        r = requests.post(url, data=req)
        return r.status_code

75fa8a877e59263dabd30451d358c58971fce1bb
<mask token>


class Req:
    <mask token>
    <mask token>

<mask token>


class Req:
    <mask token>

    def req_to_1c(self):
        url = 'http://localhost/test_post/hs/app'
        data_req = {'link_id': self.link_id, 'link': self.link, 'unix_time':
            self.unix_time}
        req = json.dumps(data_req)
        r = requests.post(url, data=req)
        return r.status_code

<mask token>


class Req:

    def __init__(self, link_id, link):
        self.link_id = link_id
        self.link = link
        self.unix_time = time.time()

    def req_to_1c(self):
        url = 'http://localhost/test_post/hs/app'
        data_req = {'link_id': self.link_id, 'link': self.link, 'unix_time':
            self.unix_time}
        req = json.dumps(data_req)
        r = requests.post(url, data=req)
        return r.status_code

import requests
import json
import time


class Req:

    def __init__(self, link_id, link):
        self.link_id = link_id
        self.link = link
        self.unix_time = time.time()

    def req_to_1c(self):
        url = 'http://localhost/test_post/hs/app'
        data_req = {'link_id': self.link_id, 'link': self.link, 'unix_time':
            self.unix_time}
        req = json.dumps(data_req)
        r = requests.post(url, data=req)
        return r.status_code

import requests
import json
import time


class Req:

    def __init__(self, link_id, link):
        self.link_id = link_id
        self.link = link
        self.unix_time = time.time()

    def req_to_1c(self):

        url = 'http://localhost/test_post/hs/app'

        data_req = {
            'link_id': self.link_id,
            'link': self.link,
            'unix_time': self.unix_time,
        }

        req = json.dumps(data_req)

        r = requests.post(url, data=req)
        return r.status_code
