# Developing a Java IC client using HTTP interface spec

**URL:** https://forum.dfinity.org/t/developing-a-java-ic-client-using-http-interface-spec/3972
**Category:** Developers
**Created:** [May 18, 2021, 5:28pm UTC](https://forum.dfinity.org/t/developing-a-java-ic-client-using-http-interface-spec/3972 "2021-05-18T17:28:06Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![jron](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/jron/32/1746_2.png) [@jron](https://forum.dfinity.org/u/jron)
#### Post date: [May 18, 2021, 5:28pm UTC](https://forum.dfinity.org/t/developing-a-java-ic-client-using-http-interface-spec/3972/1 "2021-05-18T17:28:06Z")

</div>

Hello community.

I have being reading the IC interface specification at [The Internet Computer Interface Specification :: Internet Computer](https://sdk.dfinity.org/docs/interface-spec/index.html)

Currently I am doing some experiments on my free time for developing a simple java client using the HTTP interface.

My plan is to build a java library that could be used in java code outside the IC to perform, calls, queries, status requests, etc, on canisters on the IC (using the http interface)

After playing around for a while, I am still unable to talk to the local development instance on port 8000 to request paths like the ones described on [The Internet Computer Interface Specification :: Internet Computer](https://sdk.dfinity.org/docs/interface-spec/index.html#http-interface)

However, I am already sucessfully talking to [https://ic0.app](https://ic0.app), at endpoint /api/v2/status and retrieving+decoding the cbor-encoded data returned.

- Does the local development dfx has the http interface described in the spec?
- Anyone else doing something like this?
- Can a more IC-experienced developer point me in the right directions for this kind of project development?

Thank you

---

<div class="post-metadata">

### Author: ![prithvi](https://avatars.discourse-cdn.com/v4/letter/p/22d042/32.png) [@prithvi](https://forum.dfinity.org/u/prithvi)
#### Post date: [May 18, 2021, 6:22pm UTC](https://forum.dfinity.org/t/developing-a-java-ic-client-using-http-interface-spec/3972/2 "2021-05-18T18:22:20Z")

</div>

> - Does the local development dfx has the http interface described in the spec?

As long as you are using a sufficiently new version of dfx, then yes the local replica and dfx + libraries are compatible with the http interface described in the spec (specifically version 0.17.0)  
To be sure, I recommend you use the latest version released yesterday: 0.7.0 (stripped off the beta tags.)

---

<div class="post-metadata">

### Author: ![dpdp](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/dpdp/32/1143_2.png) [@dpdp](https://forum.dfinity.org/u/dpdp)
#### Post date: [May 18, 2021, 6:23pm UTC](https://forum.dfinity.org/t/developing-a-java-ic-client-using-http-interface-spec/3972/3 "2021-05-18T18:23:02Z")

</div>

There’s already something here: [GitHub - seniorjoinu/candid-kt: Lets you write Kotlin apps which interact with the Internet Computer](https://github.com/seniorjoinu/candid-kt)

---

<div class="post-metadata">

### Author: ![senior.joinu](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/senior.joinu/32/9240_2.png) [@senior.joinu](https://forum.dfinity.org/u/senior.joinu)
#### Post date: [May 18, 2021, 6:31pm UTC](https://forum.dfinity.org/t/developing-a-java-ic-client-using-http-interface-spec/3972/4 "2021-05-18T18:31:05Z")

</div>

Gonna make it up to date in near future.

---

<div class="post-metadata">

### Author: ![jron](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/jron/32/1746_2.png) [@jron](https://forum.dfinity.org/u/jron)
#### Post date: [May 18, 2021, 7:37pm UTC](https://forum.dfinity.org/t/developing-a-java-ic-client-using-http-interface-spec/3972/5 "2021-05-18T19:37:17Z")

</div>

Thank you! Will check that

---

<div class="post-metadata">

### Author: ![jron](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/jron/32/1746_2.png) [@jron](https://forum.dfinity.org/u/jron)
#### Post date: [May 18, 2021, 7:38pm UTC](https://forum.dfinity.org/t/developing-a-java-ic-client-using-http-interface-spec/3972/6 "2021-05-18T19:38:33Z")

</div>

Yes, that was my first option. Thanks

---

<div class="post-metadata">

### Author: ![jron](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/jron/32/1746_2.png) [@jron](https://forum.dfinity.org/u/jron)
#### Post date: [May 18, 2021, 7:39pm UTC](https://forum.dfinity.org/t/developing-a-java-ic-client-using-http-interface-spec/3972/7 "2021-05-18T19:39:22Z")

</div>

Great 🙂 I am sure it will be appreciated

---

<div class="post-metadata">

### Author: ![jron](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/jron/32/1746_2.png) [@jron](https://forum.dfinity.org/u/jron)
#### Post date: [May 18, 2021, 8:45pm UTC](https://forum.dfinity.org/t/developing-a-java-ic-client-using-http-interface-spec/3972/8 "2021-05-18T20:45:08Z")

</div>

Confirmed!  
It works using DFX\_VERSION=0.7.0 on ubuntu 20.04
