
Next, in the same window, navigate to Library directories. For e.g.Ĭ:\vcpkg\packages\restclient-cpp_圆4-windows\includeĬ:\vcpkg\packages\jsoncpp_圆4-windows\include Here add the full path to the Include directories where you have installed the libraries. > In Visual Studio, navigate to Project –> Properties -> Configuration Properties -> VC++ Directories -> Include directories. For detailed steps on how to create an add-in please refer: Creating a Script or Add-In. > Create a C++ Fusion add-in and edit it so it opens in Visual Studio. I have also used this JsonCPP library to help parse the HTTP response.īelow are the steps that I needed to follow for implementation: To set it to a 64-bit platform, you can set the environment variable as below: Tip: When using vcpkg, it usually defaults to 32-bit platform. For this example, I installed this RestClient (which is a wrapper for the cURL library) and installed it using vcpkg. There are many library options that you could choose to make an HTTP request using C++. Since the Fusion API supports both C++ and Python, this article shall be covering both, should the need arise. The Entitlement API is a simple RESTful API where you just need to send an HTTP GET request to the App Store server.

If you wish to achieve this on a MacOS, please navigate to the below link: This article will focus on the Windows OS.

This what the Entitlement API can help you with. If you have an app on the Autodesk App Store then you might want to check if the user actually paid for and downloaded your app from the store or just copied it from someone else's computer.
