Host Engineering Forum

General Category => Do-more CPUs and Do-more Designer Software => Topic started by: Controls Guy on June 15, 2022, 01:14:52 PM

Title: Accessing HTTP title string
Post by: Controls Guy on June 15, 2022, 01:14:52 PM
I'm trying to locate an Advantech ADAM module in the subnet with a BRX.   It doesn't publish a meaningful web page, but it will return a blank body with a useful title (the part that goes on the browser page tab) that I can use to identify it.  I can't figure out what string to put into the HTTPCMD box for the request nor if I can access the "title" string.

I can do what I want via UDP using PACKETOUT/IN (in fact that's why I trying to identify the node), but I'd rather not scan a subnet of random devices by sending UDP packets that they might react to in some unexpected way.
Title: Re: Accessing HTTP title string
Post by: franji1 on June 15, 2022, 01:58:07 PM
The <TITLE> tag is in the header of the response.  Look at the Response Header string.
Title: Re: Accessing HTTP title string
Post by: Controls Guy on June 15, 2022, 02:10:05 PM
Yup that did it.  Embarrassing to admit I didn't see that option over there in the first place!   ::)