Reputation: 2538
I would to create a client to access a REST web service in C++.
This should include authentication and session management. Writing this entirely from scratch is big task. Is there any helper library / framework available? Any example / tutorial would help me? I heard of libcurl and for framework STAFF. But not sure how STAFF generates the code and whether it is specific to Apache.
Upvotes: 4
Views: 3469
Reputation: 20205
I wrote a PAM module that uses libcurl, but you could easily adapt it for your needs:
Just look at the headers and functions I use. I use SSL as well, so this is a pretty complete example.
Upvotes: 2
Reputation: 9158
If you can go with C, you can use Axis2 C -
http://axis.apache.org/axis2/c/core/
or
http://wso2.org/project/wsf/cpp/2.0.0/docs/
Upvotes: 0