# Chef API using Java

**URL:** <https://discourse.chef.io/t/chef-api-using-java/8779>\
**Category:** Chef Infra (archive)\
**Created:** [June 24, 2016, 8:14am UTC](https://discourse.chef.io/t/chef-api-using-java/8779 "2016-06-24T08:14:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![louglas](https://avatars.discourse-cdn.com/v4/letter/l/f04885/32.png) [@louglas](https://discourse.chef.io/u/louglas)\
**Post date:** [June 24, 2016, 8:14am UTC](https://discourse.chef.io/t/chef-api-using-java/8779/1 "2016-06-24T08:14:06Z")

</div>

I was trying to hit the Chef API using thebelow REST call for authentication [https://ip-100-00-10-167.us-west-2.compute.internal/organizations/ABCD/authenticate\_user?username=chefadmin&password=chefadmin](https://ip-100-00-10-167.us-west-2.compute.internal/organizations/ABCD/authenticate_user?username=chefadmin&password=chefadmin)

The response doesnt share any output like Cookie details but the status shows OK 200 as code…

Any insights / thoughts please share
