Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 261 Bytes

EXAMPLES-UDP.md

File metadata and controls

19 lines (14 loc) · 261 Bytes

UDP examples

Set

H="Content-Type: application/json"
URL=http://localhost:9009/

and use it this way

curl -H "$H" -d "$D" -X POST $URL

D='{"Action":"UDP","Host":"_____","Port": _____,"Value":"Sw_off1<usr><pwd>"}'