User Tools

Site Tools


access_via_api

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
access_via_api [2019/03/12 14:45] akuzmukaccess_via_api [2019/06/07 14:27] – [Getting current registers values] akuzmuk
Line 883: Line 883:
   X-WH-APIKEY: F3C74230818DA487BB2017CE5D0290F4DABCAFD7   X-WH-APIKEY: F3C74230818DA487BB2017CE5D0290F4DABCAFD7
  
-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 header. ID should be separated by comma, without spaces. This allows you to request not all registers, but only a part.
  
 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: gzip, deflate, sdch   Accept-Encoding: gzip, deflate, sdch
   X-WH-APIKEY: F3C74230818DA487BB2017CE5D0290F4DABCAFD7   X-WH-APIKEY: F3C74230818DA487BB2017CE5D0290F4DABCAFD7
-  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

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki