使用curl更改用户代理时出错

时间:2016-01-24 01:22:49

标签: php curl

PUSH ID
JXJmO93vau

TARGETING
currentUser advanced operator ($inQuery {"className"=>"_User", "where"=>{"objectId"=>"QlhXkNWET6"}}) 
SENDING TIME
January 23rd, 2016 at 8:14 PM

EXPIRATION
None

FULL TARGET
{ 
  "currentUser": { 
    "$inQuery": { 
      "className": "_User", 
      "where": { 
        "objectId": "QlhXkNWET6" 
      } 
    } 
  } 
}

FULL DATA
{ 
  "alert": "Alert !!", 
  "title": "Some Title" 
}

ERROR:
error 102: bad type for $inQuery parse.com/api/collections/collection.go:393 
inQueryVisitor.runChildQuery parse.com/api/collections/collection.go:367 
inQueryVisitor.Visit <autogenerated>:171 (*inQueryVisitor).Visit    
parse.com/api/types/query/visitor.go:27 Visit  
parse.com/api/collections/collection.go:407 (*Collection).resolveInQueries 
parse.com/api/collections/collection.go:554 (*Collection).PrepareQuery 
parse.com/api/collections/installation_collection.go:740 
(*InstallationCollection).Iterate parse.com/push/expansion/expansion_job.go:360 
(*Job).iterateOverDevices parse.com/push/expansion/expansion_job.go:296 
(*Job).perform parse.com/push/expansion/expansion_job.go:184 (*Job).Perform 
parse.com/resque/service.go:420 (*Service).perform parse.com/resque/service.go:144 
(*Service).Work.func1 /usr/local/go/src/runtime/asm_amd64.s:1722 goexit

当我在命令行中键入它时。我收到了错误

  

-bash:意外令牌附近的语法错误&#39;(&#39;

我不熟悉curl,任何人都可以帮我解决这个语法错误吗?

0 个答案:

没有答案