The problem is, due to a encoding problem, the above mentioned email address “test123@myemailtest.de” gets changed to “test123%40myemailtest.de” when the endpoint is called.
The real problem is that you do not understand the specification of Uniform Resource Locators (URL). See RFC-1738, “2.2 URL Character Encoding Issues”. The spec requires a @ in a URL string must be encoded to %40.
As specified by the RFC-1738, a sender application must translate a @ to %40; and the receiver application must translate a %40 back to @. The WS.sendRequest() is encoding @ to %40 OK. Now your receiver application is supposed to decode %40 to @.
Have a look at some article that explains what “URL encoding and decoding” is. For example,
I am not sure how I would be able to alter the way, sendRequest works or how the api I send to receives calls. So I have to make sure, it gets send as “@”.
And there are other things I really dont understand, for example:
Why does it get recognized correctly in the name/value pair, but not in the built url?! Feels more like a bug than a error on my side, please correct me
Also: I tried around with "what happens when I send test%40test.de instead of test@test.de, and then that happens:
have fun with this.
as already explained, the client does the right thing, as any other sane client/browser should.
with your attempts to ‘make sure’ you only managed to break the url.
as long as you receive a right response, why bother?
you can try to reach out directly to RFC authors if the current standards does not suit your understanding.
good luck with this!
Now, BEFORE you post more questions, read the material behind the links that @kazurayam gave you and make sure you understand it. Until you do that, this thread could go on forever.
I think the main problem was / is that I obv. didn´t manage to formulate my problem properly (enough).
W/e thanks for your help guys, topic can be closed.
I am not quite sure where you get that I REFUSED to understand, instead of just didn´t understand due to a lack of knowledge, which i straigthened out now.
Also not quite sure if 50% of the comments in here really want to help or whether the forum here is sometimes simply used to demonstrate one’s (technical) superiority, and the actual intention is not really to help.
Like I said over 1 hr ago - topic can get closed, I won´t answer in that thread anymore. Everything is said. Thanks again I guess.