You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**Endpoints** are fundamental to this extension; they are .NET class instances which describe a piece of API functionality which may be consumed.
3
+
The single most important (and obvious) piece of information stored in an endpoint object is the URL (route) which is used to communicate with the API function.
4
+
## Three endpoint classes
5
+
The WebAPIs extension offers three classes for which to use in defining the endpoints which you consume.
6
+
7
+
8
+
9
+
, first class concept in this extension. An endpoint object is used to define:
10
+
11
+
* The URL (route) at which the endpoint is found
12
+
* Whether use of the endpoint requires any parameters
13
+
* How many parameters
14
+
* The .NET types of the parameter values
15
+
* How those parameters are communicated to the endpoint
16
+
* The endpoint's expected response/result type, if it is expected to return one
17
+
18
+
Users of this extension *are encouraged to build a library of endpoint objects*, describing the 'surface area' of the API that they wish to exercise.
0 commit comments