|
Boost Users : |
Subject: Re: [Boost-users] Is there a straightforward Boost API for REST Web services calls
From: Travis Gockel (travis_at_[hidden])
Date: 2012-07-05 15:21:32
On Thu, Jul 5, 2012 at 6:48 AM, Jens Auer <jensa_at_[hidden]> wrote:
> If it you plan to develop on the windows platform, Casablanca (
> http://msdn.microsoft.com/en-us/devlabs/casablanca.aspx) would be worth a
> look. I don't know how this works on other platforms, but the intention of
> the developers is to have a multi-platform, open-source library.
>
> -----Ursprüngliche Nachricht-----
> Von: boost-users-bounces_at_[hidden] [mailto:
> boost-users-bounces_at_[hidden]] Im Auftrag von Vladimir Prus
> Gesendet: Thursday, July 05, 2012 2:01 PM
> An: boost-users_at_[hidden]
> Betreff: Re: [Boost-users] Is there a straightforward Boost API for REST
> Web services calls
>
> On 05.07.2012 00:37, Adam J Cooper wrote:
> > I am new to Boost and definitely still a novice with C++ in general.
> >
> > I would like to use Amazon Web Services (AWS) with C++.
> >
> > AWS supplies tookits (APIs) for .Net, Java, etc. However, they do not
> supply an API for C++.
> >
> > Therefore, I believe the best way for me to interact with AWS using C++
> will be with REST.
> >
> > My rationale for wanting to use C++ is that I enjoy the flexibility
> > and aesthetics of C++ and want to continue to find opportunities to
> learn and practice with it. (I do not have a specific application need and
> could use the AWS .Net API for my project if I needed to).
> >
> > Having said that, I understand that Boost is one of the most
> > highly-regarded add-on libraries for C++. Therefore, is there a Boost
> > library that will EASILY allow me to make REST (get and post) calls? If
> not, can someone recommend another well-tested and widely used C++ library
> that would allow me to make such REST calls?
>
> Depends on what you call easily, and what do you mean by REST (as Rob
> mentioned). Some time ago I wrote a tiny thing to interact with some web
> service on top of Boost.Asio, Urdl (not yet submitted, I believe) and
> TinyJSON, and I found that easy enough, apart from TinyJSON being too
> dynamic for my taste.
>
> I've just put it to https://github.com/vprus/todoist-backup in case it's
> any help.
>
> - Volodya
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>
I've had pretty good experience with PION:
http://www.pion.org/projects/pion-network-library/ . With a little bit of
wrapping, you can get a JSON web service rolling along in no time.
-- Travis Gockel Chief λ Combinator
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net