I am making a library to get response from a particular URL with specified data and method type. For this, I am making a request with url. But when I set its method type, it
Make sure your requestObject is of type NSMutableURLRequest.
NSMutableURLRequest