Parse where cause not working for rest api
<p>I m calling parse rest api. I had added following code but now working</p>

<pre><code>let request = NSMutableURLRequest()
    request.HTTPMethod = "GET"
    request.addValue("XX", forHTTPHeaderField: "X-Parse-Application-Id")
    request.addValue("XXX", forHTTPHeaderField: "X-Parse-REST-API-Key")
    request.addValue("application/json", forHTTPHeaderField: "Content-Type")
    request.addValue("application/json", forHTTPHeaderField: "Accept")
   let oneHourAgo = NSDate(timeIntervalSinceNow: (-3600))
   let  urlString = NSString(format: "https://api.parse.com/1/classes/Sample?&amp;limit=%d&amp;skip=%d&amp;where={\"createdAt\":{\"$gt\":\"%@\"}}",1000,skipValue,self.getISOStringFromDate(oneHourAgo))

let task = NSURLSession.sharedSession().dataTaskWithRequest(request, completionHandler: { (data, response, err) -&gt; Void in
        do {
            print(err);
        } catch {
            print("json error: \(error)")
        }

    })
</code></pre>

<p>OuptPut Error :</p>

<p><strong>UserInfo={NSUnderlyingError=0x7af94cb0 {Error Domain=kCFErrorDomainCFNetwork Code=-1002 "(null)"}, NSLocalizedDescription=unsupported URL})</strong></p>