I have URL like this for example:
http://somedomain.com/mi3/marketInfoData?request=login&user=user&password=password
but why URL string not same with that I want... it return
http://somedomain.com/mi3/marketInfoData/?request=login&user=user&password=pass
here my NSurl request
AFHTTPClient *httpClient = [[AFHTTPClient alloc] initWithBaseURL:[NSURL URLWithString:@"http://somedomain.com/mi3/marketInfoData?request=login&user=user&password=pass"]];
Error:
AFNetworkingOperationFailingURLRequestErrorKey=<NSMutableURLRequest http://somedomain.com/mi3/marketInfoData/?request=login&user=user&password=pass <--error
and I got an error like this because it has "/" before "?" How do I escape it?