0
Answered

Help with HTTP syntax

Iain Brew 7 years ago in Products / AV & Custom Systems updated 7 years ago 4

I have a recording device which uses HTTP strings to start and stop recording. I have read through the documentation, but still can't get the recording device to trigger from iRidium.


Here is an example of a code:

http://admin:admin@192.12.20.1/Monarch/syncconnect/sdk.aspx?command=StartRecording


How should I be breaking this up in custom HTTP driver so it will work? I don't understand the split between URI/Data field etc


Thanks!

Answer

Answer

Hi Ian

Attached is a working sample project that gets the time

Time http.irpz



I not sure, but i think that you need create:

1. an AV & Custom Driver (HTTP) with host "192.12.20.1", port "80", login "admin" and password "admin"

2. an command object with type "GET" and URI "/Monarch/syncconnect/sdk.aspx?command=StartRecording".


Thanks for the information - in the guide it talked about splitting the command between URI and Data, I will put the whole string into URI tomorrow when I get in the office and report back

Answer

Hi Ian

Attached is a working sample project that gets the time

Time http.irpz



Thank you for the script - this helped me fix my syntax (the instruction manual wiki says to use ' ' around HTTP commands which breaks them)