You are viewing the delineate interpretation of Accessing the API with Plug. This page’s contents may depart from the alight interpretation, as it may admit changes which are not despite everything approved.
Table of contents1.
Overview2. on the intact Getting to prize Plug2.1. on the intact Generating a request2.1.2.
Creating a DreamPlug2.1.1. on the intact Executing the request2.1.3. on the intact Using the insist on result2.2. on the intact DekiPlug, develop into a pro
Overview
Plug is a ancestry in arrange of simplifying HTTP requests.
This tutorial discusses uses in arrange of the PHP interpretation and how it can be employed to clearly interact with the API. There are two uncommon implementations: C# and PHP.
Getting to prize Plug
The PHP Plug implementation comes in two flavors, DreamPlug and DekiPlug. DreamPlug is the superb ancestry in arrange of performing uncomplicated HTTP operations while DekiPlug adds additional functionality in arrange of interacting with the MindTouch API.
The next sections on using DreamPlug and DekiPlug ordain say the MindTouch users API as an exemplification.
Creating a DreamPlug
There are 2 customary ways to solder to a Dream server.
Check unessential exhausted the skilled MindTouch API documentation in arrange of other the moment features. Via the excuse or a surrogate. Both ways are shown guardianship. Using the At() method, we can predetermined up constructing a uri with prepare components.