title: How to send the form data type request using Restkit
body: <p>Data Format:</p>
  
  <pre><code>{
      "firstName": "arun",
      "lastName": "kumar",
      "contactInfo": {
          "email": "ak7896@gmail.com"
      },
      "password": "abcdefg"
  }
  </code></pre>
  
  <p>Above is my request structure for sign up. Along with <code>data</code> key I have one more key for <code>profilepic</code> image named "main". Currently, I am using RestKit in my request dictionary I am creating is like below:</p>
  
  <pre><code>[RKObjectManager sharedManager] postObject:self path:self.path_api parameters:@"data":@{                                                                       @"firstname":firstname, @"lastname":lastname, @"contactInfo": @{@"email":emailID}, @"password":pass}
                                                                              @"main": @{@"profileImage": profilePic? profilePic : nil}
  </code></pre>
  
  <p>but it throws me error 500. I think the dictionary which I am creating here is not correct.</p>
  
  <p>Any suggestions would be really helpful for me.</p>
  
  <p>Thanks in advance</p>