The reason why you are getting a response error of 400 is because when using the requests module, the posted data is automatically url encoded. Hence posting options that contains characters such as "+", "@" ..etc will cause a bad form error.
Hence, one way you can work around this is to have the request post http URL instead by passing a string.
string = "entry.xxx=Option+1&entry.xxx=option2"
r = requests.post(url, params = string)
Hope this helps.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
try again bro, i have tried today, its working when i disable this option and getting error 400 when i activate it
The reason why you are getting a response error of 400 is because when using the
requests
module, the posted data is automatically url encoded. Hence posting options that contains characters such as "+", "@" ..etc will cause a bad form error.Hence, one way you can work around this is to have the request post http URL instead by passing a string.
Hope this helps.