access_via_api
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
access_via_api [2019/03/12 14:45] – akuzmuk | access_via_api [2019/06/07 14:27] – [Getting current registers values] akuzmuk | ||
---|---|---|---|
Line 883: | Line 883: | ||
X-WH-APIKEY: | X-WH-APIKEY: | ||
- | In the request headers, you must pass the connection IDs (IDs). Register values will be returned only from those connections whose ID are specified in the X-WH-CONNS header. ID should be separated by comma, without spaces. This allows you to request not all registers, but only a part. | + | In the request headers, you must pass the connection IDs (IDs). Register values will be returned only from those connections whose ID are specified in the X-WH-CONNECTIONS |
Example: | Example: | ||
- | X-WH-CONNS: 1,2 | + | X-WH-CONNECTIONS: 1,2 |
| | ||
In this example, register values for the ID=1 and ID=2 will be returned. | In this example, register values for the ID=1 and ID=2 will be returned. | ||
Line 906: | Line 906: | ||
Accept-Encoding: | Accept-Encoding: | ||
X-WH-APIKEY: | X-WH-APIKEY: | ||
- | X-WH-CONNS: 1,2 | + | X-WH-CONNECTIONS: 1,2 |
| | ||
Example of the response: | Example of the response: |
access_via_api.txt · Last modified: 2023/03/02 10:53 by emozolyak