README.md 936 Bytes
Newer Older
Henri Biström's avatar
Henri Biström committed
1
2
Standalone examples for reading and appending Obix histories. Further details can be found in the [Obix Specification](https://docs.oasis-open.org/obix/obix/v1.1/cs01/obix-v1.1-cs01.html).

Henri Biström's avatar
Henri Biström committed
3
4
The server's responses to append requests are not parsed in these examples, but in production use the responses should be checked in order to verify successful appends. An Obix server will return status 200 OK even in most error conditions, as per the Obix spec, but the response will generally contain some indication of what went wrong.

Henri Biström's avatar
Henri Biström committed
5
6
7
8
9
The examples in different languages are not exactly equivalent.

The history https://ba.vtt.fi/TestServlet/testHistory/ referred to in the examples is a test data point with random data. It doesn't retain the values appended to it for long and can hold at most 4000 records at any time.

The test point doesn't require credentials for access, although HTTP Basic authorization is included in the examples.