title: Need Help Sending a URL with Device Token to our database from our iPhone App
body: <p>We added Push Notifications to our App but we need help with sending the Device Token to our database.  As of right now we have our database set up so all we have to do is get our Device Token from the NSLog and put it at the end of the database's URL:http://www8.XXXXXXX.net/XXXXX_push/register.cfm?token=TOKEN_HERE
  If we use Safari we can just type that in the URL bar with the real Token at the end then hit enter and the database receives Token.
  We Fell that we need to put code in the App under:</p>
  
  <pre><code>- (void)application:(UIApplication *)app didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken 
  </code></pre>
  
  <p>But we just don't know what code to use...As we are really new to this.</p>
  
  <p>Could someone please let us know what code to use to send the NSURL that we have made?</p>
  
  <p>P.S. here is what we have so far:</p>
  
  <pre><code>- (void)application:(UIApplication *)app didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken { 
  
  NSString *str = [NSString 
                   stringWithFormat:@"Device Token=%@",deviceToken];
  NSLog(str);
  NSString *fullURL = [NSString stringWithFormat:@"http://www8.xxxxxxxxx.net/xxxxx_push/register.cfm?token=%@",str];
  NSURL *tokenURL = [NSURL URLWithString:fullURL];
  </code></pre>
  
  <p>}</p>