User Tools

Site Tools


api

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
api [2026/05/19 01:45]
nightfly [Read-only clients apps API]
api [2026/07/29 13:45] (current)
nightfly
Line 342: Line 342:
  
  
-====== Usage examples ======+===== Usage examples =====
  
-===== Normal request =====+==== Normal request ====
 <code> <code>
 curl -s -X POST 'https://yourhost/wr/?module=remoteapi&action=clientrest&channels=getall' --data-urlencode 'data={"login":"admin","password":"demo"}' curl -s -X POST 'https://yourhost/wr/?module=remoteapi&action=clientrest&channels=getall' --data-urlencode 'data={"login":"admin","password":"demo"}'
Line 377: Line 377:
 </code> </code>
  
-===== Wrong credentials =====+==== Wrong credentials ====
  
 <code> <code>
Line 393: Line 393:
  
  
-===== Wrong request format =====+==== Wrong request format ====
  
 <code> <code>
api.txt ยท Last modified: 2026/07/29 13:45 by nightfly