# Error in call chef-server REST api

**URL:** <https://discourse.chef.io/t/error-in-call-chef-server-rest-api/3483>\
**Category:** Chef Infra (archive)\
**Created:** [January 9, 2013, 1:58pm UTC](https://discourse.chef.io/t/error-in-call-chef-server-rest-api/3483 "2013-01-09T13:58:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ganesan\_A](https://avatars.discourse-cdn.com/v4/letter/g/f07891/32.png) [@Ganesan\_A](https://discourse.chef.io/u/Ganesan_A)\
**Post date:** [January 9, 2013, 1:58pm UTC](https://discourse.chef.io/t/error-in-call-chef-server-rest-api/3483/1 "2013-01-09T13:58:52Z")

</div>

Hi,

I have to know how to Managing API Clients through the Server API in REST  
client tool, I don’t know how to request must be signed using  
Mixlib::Authentication. how to generate and use this parameters ‘X\_OPS\_SIGN’,  
‘X\_OPS\_USERID’, ‘X\_OPS\_TIMESTAMP’, ‘X\_OPS\_CONTENT\_HASH’ can u send any solution  
as soon as possible.

Thanks and Regards,  
Ganesan.A

---

<div class="post-metadata">

**Author:** ![kallistec](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/kallistec/32/23_2.png) [@kallistec](https://discourse.chef.io/u/kallistec)\
**Post date:** [January 9, 2013, 4:21pm UTC](https://discourse.chef.io/t/error-in-call-chef-server-rest-api/3483/2 "2013-01-09T16:21:36Z")

</div>

On Wednesday, January 9, 2013 at 5:58 AM, [ganesan15785@gmail.com](mailto:ganesan15785@gmail.com) wrote:

> Hi,
> 
> I have to know how to Managing API Clients through the Server API in REST  
> client tool, I don’t know how to request must be signed using  
> Mixlib::Authentication. how to generate and use this parameters 'X\_OPS\_SIGN',  
> 'X\_OPS\_USERID', 'X\_OPS\_TIMESTAMP', 'X\_OPS\_CONTENT\_HASH' can u send any solution  
> as soon as possible.
> 
> Thanks and Regards,  
> Ganesan.A

Have a look at these:

> **[GitHub - chef/mixlib-authentication: AuthN signing and verification. Appears...](https://github.com/chef/mixlib-authentication)**
>
> AuthN signing and verification. Appears in both the client and server - GitHub - chef/mixlib-authentication: AuthN signing and verification. Appears in both the client and server

[https://github.com/opscode/chef/blob/master/lib/chef/rest.rb](https://github.com/opscode/chef/blob/master/lib/chef/rest.rb)

> <https://github.com/chef/chef/blob/main/lib/chef/cookbook_uploader.rb#L131-139>

> **[GitHub - danryan/spice: A zesty Chef server API wrapper](https://github.com/danryan/spice)**
>
> A zesty Chef server API wrapper. Contribute to danryan/spice development by creating an account on GitHub.

> **[GitHub - coderanger/pychef: Python library to interact with the Chef server API](https://github.com/coderanger/pychef)**
>
> Python library to interact with the Chef server API - GitHub - coderanger/pychef: Python library to interact with the Chef server API

--  
Daniel DeLeo
