I have this code:

Import Requests
HEADER= {"User-Agent": "Mozilla /5.0 (Windows NT 10.0; Win64; x64) AppleWebKit /537.36 (KHTML, LIKE GECKO) Chrome /87.0.4280.141 Safari /537.36 OPR /73.0.3856.424"}
R= Requests.post ("https://api.creditter.ru/confirm/sms/send", headers= header, json= {"phone": "+7 (929) 920-88 -**", " Type ":" REGISTER "})
Print (R)
Print (R.Status_Code)
Print (R.Text)

But when sending a request, SMS does not come if you enter the data on the site then everything comes

post I send:

Tried to add a cookie?

Jack_oS2021-04-09 15:25:23

@Jack_OS No, I just start learning Requests Can you write code how to do it?

nn1116660002021-04-09 15:26:35

Also, in Header, as "User-Agent"

Jack_oS2021-04-09 15:27:53

@Jack_OS Now I will try

nn1116660002021-04-09 15:28:30

@Jack_os tried not working

nn1116660002021-04-09 15:29:48