Rest 在Quickblox中创建会话时无法处理的实体

Rest 在Quickblox中创建会话时无法处理的实体,rest,quickblox,Rest,Quickblox,我总是遇到同样的例外有人能帮我解决这个问题吗 POST request for "https://api.quickblox.com/session" resulted in 422 (Unprocessable Entity); invoking error handler 请求数据: <{timestamp=1421688858744, nonce=1667154, application_id=16877, auth_key=WVrgfqUuDPCQhAD, signature=b

我总是遇到同样的例外有人能帮我解决这个问题吗

POST request for "https://api.quickblox.com/session" resulted in 422 (Unprocessable Entity); invoking error handler
请求数据:

<{timestamp=1421688858744, nonce=1667154, application_id=16877, auth_key=WVrgfqUuDPCQhAD, signature=b50a52268e02ed7afff75640afa9782702e8d7c5},{Content-Type=[application/json], QuickBlox-REST-API-Version=[0.1.0]}>


您能否提供一些代码,说明如何使用itRandom randomGenerator=new Random();整数randomInt=randomGenerator.nextInt(10000000);长时间戳=Calendar.getInstance().getTimeInMillis();String postData=“application\u id=”+applicationId;postData+=”&auth_key=“+authKey;postData+=“×tamp=“+timestamp;postData+=“&nonce”+randomInt;请尝试{String signature=HmacSha1Signature.calculateRFC2104HMAC(postData,authSecret);parameterToWS.put(“application_id”,applicationId);parameterToWS.put(“auth_key”,authKey);parameterToWS.put(“timestamp”,timestamp.toString());将所有参数添加到地图请添加到原始帖子,而不是注释