How can i use counterparty API in my java code?

how can i use counterparty API in my java code?

https://coindaddy.io/public-development-servers

they did not given any java code.

Please read the page JP referenced.

1.) It links to Counterparty API (How to use the API)
2.) It links to Counterparty Public Development Server (Server you talk to for free)

This should be all you need to get started. Your ‘java code’ would just be making REST API calls to get information.

i making REST call to “http://public.coindaddy.io:4000/” and it showing “SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data”

can you provide REST call URLs. i readed counterparty docs. but they given only API functions.