santhosh
santhosh

Reputation: 91

Call REST Service from Win32 application

I have an Win32 application which runs on the Windows server (2003 & later). My application has to call a REST service to POST some JSON data.

How can I proceed with implementation? Which library or SDK should I use to call REST service from C++ application.

Please suggest.

Thanks in advance.

Upvotes: 1

Views: 1456

Answers (1)

Andrew Komiagin
Andrew Komiagin

Reputation: 6556

I'd suggest using modern C++11 Casablanca REST API developed by Microsoft. This API is now included into Visual Studio installation package. You can also use WinHTTP API which is kind of legacy stuff. There is also MFC/ATL implementation called ATL Server that does include HTTP Client classes.

Upvotes: 1

Related Questions