title: ASIHTTPFormDataRequest- "Unable to create request (bad url?)"
body: <p>I have the following requirement to call a service using an ASIHTTPRequest with a POST method call. When I execute the request I get the following error:</p>
  
  <pre><code>errorError Domain=ASIHTTPRequestErrorDomain Code=5 "Unable to create request (bad url?)" UserInfo=0x790b490 {NSLocalizedDescription=Unable to create request (bad url?)}
  </code></pre>
  
  <p>And heres my code:</p>
  
  <pre><code>   ASIFormDataRequest *request = [ASIFormDataRequest requestWithURL:SampleURL]];
     [request addPostValue:@"emailid" forKey:username.text];
     [request addPostValue:@"password" forKey:password.text];
     [request addPostValue:@"first_name" forKey:first_name];
     [request addPostValue:@"last_name" forKey:last_name];
     [request addPostValue:@"option" forKey:@"userSignup"];
     request.delegate = self;
     [request startSynchronous];
  </code></pre>
  
  <p>Can anyone help me on this?</p>