C++ REST SDK in Visual Studio 2013
2015-12-01 10:30
435 查看
The C++ REST project provides a modern asynchronous C++ API for cloud-based client-server communication. It is available on codeplex and works with Visual Studio 2010 and 2012, but it is now distributed with Visual Studio 2013. The preview version of VS2013 deploys version 1.0 of the SDK. Since its release a new version of the SDK (v1.1.0) has been made available.
The following example shows how to retrieve and display some JSON content. I’m querying google using its REST API. Here is how a query (for a single result) may look:
The result that we get is a JSON value. From this value I will only display the URL and the (un-formatted) title.
http://mariusbancila.ro/blog/2013/08/02/cpp-rest-sdk-in-visual-studio-2013/
The following example shows how to retrieve and display some JSON content. I’m querying google using its REST API. Here is how a query (for a single result) may look:
The result that we get is a JSON value. From this value I will only display the URL and the (un-formatted) title.
http://mariusbancila.ro/blog/2013/08/02/cpp-rest-sdk-in-visual-studio-2013/
相关文章推荐
- Version history of VC++, MFC and ATL
- 个人学习c++的真实经验!
- C语言结构体(struct)常见使用方法
- C语言宏定义中#和##的作用
- Caffe C++API 提取任意一张图片的特征系列一----ImageData
- C++项目中的extern "C" {}
- 图的表示方法C++实现
- LeetCode(46): Permutations (C++)
- C++中常量引用(const reference)
- C++中四种变量
- C++模板
- C++ 学习(友元, 异常, 其他)
- c++删除文件
- C++实现红黑树建立,销毁,查找,插入和删除
- C++实现哈希表的创建,销毁,键值插入与删除
- C++builder 数据库常用操作
- 个人学习c++的真实经验
- C/C++中位运算杂谈
- [C/Cpp/Java]编程语言的一些通用概念
- c语言:编写一个简易计算器,打印菜单界面,实现加减乘除运算,可以退出菜单界面