How can i send a url request containing a @
character in the username ?
Currently my url request code looks as follows :
NSURLRequest *request = [NSURLRequest requestWithURL:[NSURL URLWithString:@"http://user@exam.com:pwd@example.com"]];
The above code is fetching data from site exam.com instead of example.com
How can i fetch data from example.com with user@exam.com as username name and pwd as password ?
I tried escape sequences like \
for escaping the @
character but still its not working.