Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

get Alerts or Count alerts returning funny characters, not JSON

Hi experts,


I'm trying to access the alertlist from Microfocus Service Manager. I'm using javascript to do that. Certificates and all the proxy stuff checks out by now but I'm still strugling with the response:

I'm starting with a basic count alerts request:

var url = "";

I obviously add the Authentication header and the Content type part...

headers.push( new Header( "Content-Type", "application/json; charset=UTF-8" ) );

printing the response results in something like this:


Last time I saw something like this the response was compressed (gzip). I don't see anything refering to deflate of gzip in the documentation, everythings like a fairy tail there.

Any help apprichiated!



2 answers

1 accepted

1 vote
Answer accepted

Ok, solved:

For the other fellow SM developers : the doHTTPRequest has an argument (Binary response data) : I don't even know why I've set it to true but that seemed to be the problem. Just set it to false and the response is in clear JSON string format.

Can I ask what program you are using in this screenshot?

That is correct.

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events