А
Size: a a a
А
🔐
l
def create(self, request, *args, **kwargs):
url = 'http://localhost:7000/check/'
unp = request.data['profile']['r_unp']
payload = {"queryid": 279, "checktype": "unp", "unp": unp}
response = requests.post(url, headers={'Content-Type': 'application/json'}, data=payload)
return super(UserViewSet, self).create(request, *args, **kwargs)
А
🔐
l
А
🔐
🔐
А
🔐
А
d_
🔐
А
🔐
🔐
А