I am going to do some things using dropbox rest api in C++ and I'm looking for an easy-to use library.
Does anyone know what functionality will I need? (I only have vague idea what REST api is)
I believe I need HTTP protocol functionality and XML parsing functionality, and JSON right? What else?
Which easy-to-use and easy-to-learn lib would you recommend me?
I found POCO C++ and it seems quite easy but I didn't find any JSON functionality...
The C++ REST SDK might have what you are looking for. It has a JSON parser and HTTP Client APIs that are very easy to use. You can check out the project on codeplex.
Edit - 05/2016
The Microsoft C++ REST SDK project has moved to Github at Microsoft/cpprestsdk which says:
The C++ REST SDK is a Microsoft project for cloud-based client-server communication in native code using a modern asynchronous C++ API design. This project aims to help C++ developers connect to and interact with services.
The README.md has the following synopsis of what is in the SDK.
Features - HTTP client/server, JSON, URI, asynchronous streams, WebSockets client, oAuth
PPL Tasks - A powerful model for composing asynchronous operations based on C++ 11 features
Platforms - Windows desktop, Windows Store, Windows Phone, Ubuntu, OS X, iOS, and Android
Support for Visual Studio 2012, 2013, and 2015 with debugger visualizers
NuGet package with binaries for Windows and Android platforms
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With