How to send http cammand to Madrix?
How to send http cammand to Madrix?
Hello Madrix,
I have a lighting control system that needs to communicate with the Madrix 5 interface via TCP/IP. I have been trying to send an HTTP command to Madrix 5, but it's showing an error. Could you please take a look at the attached picture and let me know if I have configured it incorrectly?
https://drive.google.com/file/d/1WFtHzE ... drive_link
https://drive.google.com/file/d/1YI2yc2 ... drive_link
I have a lighting control system that needs to communicate with the Madrix 5 interface via TCP/IP. I have been trying to send an HTTP command to Madrix 5, but it's showing an error. Could you please take a look at the attached picture and let me know if I have configured it incorrectly?
https://drive.google.com/file/d/1WFtHzE ... drive_link
https://drive.google.com/file/d/1YI2yc2 ... drive_link
Re: How to send http cammand to Madrix?
Hello Waii,
Welcome to the MADRIX Forum.
In the sent images the HTTP request is not complete. Accroding to the Hypertext Transfer Protocol specification a Host needs to be sent after the Get command (please refer: https://datatracker.ietf.org/doc/html/r ... tion-14.23).
That means after the command you will need to add: HTTP/1.1 [carriage return][line feed] Host: [IP address] [carriage return][line feed].
It is possible to send the command without a Host IP adress and MADRIX will accept it
Welcome to the MADRIX Forum.
In the sent images the HTTP request is not complete. Accroding to the Hypertext Transfer Protocol specification a Host needs to be sent after the Get command (please refer: https://datatracker.ietf.org/doc/html/r ... tion-14.23).
That means after the command you will need to add: HTTP/1.1 [carriage return][line feed] Host: [IP address] [carriage return][line feed].
It is possible to send the command without a Host IP adress and MADRIX will accept it
Re: How to send http cammand to Madrix?
Dear Mr./Mrs.,
I try to transmit HTTP Command to Mardix 5 via Hercules TCP Client software,
the command is : GET /RemoteCommands/SetStorageDeckA=S1P1 HTTP/1.1\r\nHost:10.0.0.11\r\n\r\n
But it show "400 Bad Request"
Could you assist me to solve the issue? Thanks!
https://drive.google.com/file/d/1jphSLZ ... drive_link
I try to transmit HTTP Command to Mardix 5 via Hercules TCP Client software,
the command is : GET /RemoteCommands/SetStorageDeckA=S1P1 HTTP/1.1\r\nHost:10.0.0.11\r\n\r\n
But it show "400 Bad Request"
Could you assist me to solve the issue? Thanks!
https://drive.google.com/file/d/1jphSLZ ... drive_link
Re: How to send http cammand to Madrix?
Hi Waiii,
Please add a space between the [line feed] and the Host and try again:
Does it work correctly now?
Please add a space between the [line feed] and the Host and try again:
Code: Select all
GET /RemoteCommands/SetStorageDeckA=S1P1 HTTP/1.1\r\n Host:10.0.0.11\r\n\r\n