Answer the question
In order to leave comments, you need to log in
Why doesn't Post form requests.post Python work?
import requests
res = requests.post("https://www.999dice.com/api/web.aspx",data = {'a','GetCurrencies'})
<Response [200]>
) don't work. wget --post-data 'a=GetCurrencies' https://www.999dice.com/api/web.aspx
Answer the question
In order to leave comments, you need to log in
Everything was decided.
It turns out that a really correct response was returned to the request, but I was not accessing it correctly.
res.json() is the right way
imho the simplest solution is:
1) Make yourself a separate domain from which you will send mailing lists, notifications, etc.
2) Connect it to pdo.yandex.ru , create a mailbox there from which the mailing will go.
3) Additionally, connect it to https://postmaster.yandex.ru/
4) Configure DKIM and SPF records help.yandex.ru/postoffice/security.xml
5) Use any php solution that can send mail via smtp (for example, swiftmailer )
In principle, instead of Yandex, you can use any mail you like.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question