astrologyjs
astrologyjs copied to clipboard
Doesnt appear to work any longer
Attempting to create a chart results in response "Unexpected token < in JSON at position 0", apparently it is returning an html document and the chart creator is not prepared for that. Seems like the REST source is compromised.
Well I get the same error. I have tried to use the astrology.js instead of the min.js version - same error. It looks like the body object has some kind of buffer value ->
line 2129 in astrology.js - return resolve(JSON.parse(body.join("")));
output:
[ <Buffer 3c 68 74 6d 6c 3e 0d 0a 3c 68 65 61 64 3e 3c 74 69 74 6c 65 3e 33 30 31 20 4d 6f 76 65 64 20 50 65 72 6d 61 6e 65 6e 74 6c 79 3c 2f 74 69 74 6c 65 3e ... > ]
undefined:1
And not an array as expected It would be cool if some jsEngle would help :-)
Is this still a problem?
Yes
any solution???