LiquidPlanner Classic Forum

Ask a Question
Back to All

Comment Service failing!

Posted on behalf of Damian Sima. Original posting date 2013-05-09.

Hi Guys,

I'm trying to query a single comment through your API by using the following URL:

https://app.liquidplanner.com/api/workspaces/XXXXX/comments/2147273

BUT, this is the response I get instead of a well formed JSON:

<meta name = "viewport" content = "width = device-width">

<title>Comment</title>
This is a test comment for PeopleMatter Client  <script type="text/javascript">if (!NREUMQ.f) { NREUMQ.f=function() {

NREUMQ.push(["load",new Date().getTime()]);

var e=document.createElement("script");

e.type="text/javascript";

e.src=(("http:"===document.location.protocol)?"http:":"https:") + "//" +

"d1ros97qkrwjf5.cloudfront.net/42/eum/rum.js";

document.body.appendChild(e);

if(NREUMQ.a)NREUMQ.a();

};

NREUMQ.a=window.onload;window.onload=NREUMQ.f;

};

NREUMQ.push(["nrfj","beacon-1.newrelic.com","a966a06bbe",10042,"e1xYFkJcXw1RF04DSVEcVQ1dXlYPQBZOEVFXRA==",3,28,new Date().getTime(),"","","","",""]);

In it is the comment I'm looking for but it's not the correct format.

It's wierd for the URL https://app.liquidplanner.com/api/workspaces/79456/comments returns a well formed list for json comments.

Any ideas?

Cheers, Damian.