curl --location --request POST 'https://test.com' \
--header 'Content-Type: application/json' \
--data-raw '{
"encrypted":"U2FsdGVkX19ETWIFRzm0a/TA8s="
}'
Linux delivers it like this When I turned it over to Python, I turned it over to requests.post (url, json=data_raw, heads=header) and it didn't work. Is there any other way?
python python3 python3.6
data = { "encrypted": "U2Fsd..." }
r = requests.post(url, json=data)
You can do it like this.
© 2024 OneMinuteCode. All rights reserved.