Answer the question
In order to leave comments, you need to log in
Question about requests.post, how to do data correctly?
How to do it right in date, here it is - "}
{"device":{"deviceId":"new_kfc_web_site","deviceType":"mobile"},"createdAt":"2019-11-09T13:43:32.192Z","phone":" 79000000000"}
Answer the question
In order to leave comments, you need to log in
Well, enter the root password.
If no password is used, re-create the database.
It was something like that, but a long time ago.
phpmyadmin installed? Is it possible to get in through it? What system is being developed on in general?
If you need to pass a dictionary to post, you can simply use json in requests added such functionality.
example:
requests.post('url', json=your_dict)
only the dictionary must be valid
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question