The troubled email is [email protected], the URL is https://junior.skyeng.ru/online-uroki-po-matematike/ (form is placed almost at footer).
The website to test is in Russian. If you want to help me - please translate it in Chrome, it's easy. Or you just go directly to Postman:
POST https://crm.skyeng.ru/order/createV2Kid
Body(x-www-form-urlencoded):
parentName: test
parentEmail: [email protected]
parentPhone: +79650389823 (any decent Russian mobile phone)
subject: mathematics
childName: test
So the response is 500 Internal Server Error. The task here is to localize the error. To find out the specific conditions why the bug occurs.
What I've done (just some of examples):
[email protected]
x-www-form-urlencoded
200 ok
[email protected]
x-www-form-urlencoded
500
[email protected]
x-www-form-urlencoded
200
[email protected]
x-www-form-urlencoded
500
And if you change from x-www-form-urlencoded to form-data it will return every request with 200 OK, even with our email [email protected].
So my questions are:
- Is it really happening because of x-www-form-urlencoded? If so, why then we are able to get 200 Ok with [email protected] and any other real email?
- Maybe we should look at some Headers or other additional information and if yes - where exactly?
I can't even google anything because I don't know exactly what to find. I googled articles about form-data/x-www-form-urlencoded, HTTP (https://developer.mozilla.org/en-US/docs/Web/HTTP) and still can't localize the bug.
I would appreciate any help!
[email protected]
is okay but[email protected]
is not okay