Home AMX User Forum AMX General Discussion

Barco API - OL Series

Does anyone have any code examples for using the Barco API http Post commands?

I have tried sending different variations of the following:

SEND_STRING dvSocket,"'POST /ol/wall/1,1/actions HTTP/1.0',13,10"
SEND_STRING dvSocket,"'Content-Length: 57',13,10"
SEND_STRING dvSocket,"13,10"
SEND_STRING dvSocket,"'{"action":{"name":"switchOn"}}',13,10"
SEND_STRING dvSocket,"13,10"

Comments

  • cblumcblum Posts: 19
    together

    Sets de string together

    CALL EXAMPLE:

    CALL 'Barco_OL_Series_1_TX_Gateway' ("
    'POST /ol/wall/',ITOA(nCol),',',ITOA(nRow),'/actions HTTP/1.0',$0D,$0A,
    'Content-Length: 134',$0D,$0A,
    'Content-Type: application/json',$0D,$0A,
    $0D,$0A,
    '{ "action" : {"name" : "switchOn"} }',$0D,$0A,
    $0D,$0A")
  • I will give this a try.
Sign In or Register to comment.