GET /widgetΒΆ
Get an HTML widget.
Query parameters:
Name |
Type |
Description |
---|---|---|
|
string vector, optional, min: 1, max: 5 |
one or more consumer identifiers |
|
string, optional, default: silvertip |
the name of the widget to return |
|
string, optional, default: |
the theme to use (if the widget is themable) |
Example request:
GET /widget?name=silvertip&consumer=990000000001 HTTP/1.1
Host: api.ereceipts.co.uk
Accept: text/html
Example response:
HTTP/1.1 200 OK
Content-Length: 1426
Content-Type: text/html; charset=UTF-8
<!DOCTYPE html>
...