How to ? Get Html Page Data

var url = ‘http://www.sitetovisit.abc
var _result_html = plugins.http.getPageData(url);

I need to add a http header to this request (browser id) - but how to do this ?

thank you very much

Rainer Boehm

Servoy 6.x

Create a Client object:
plugins.http.createNewHttpClient()

and create a getrequest from that one, where you can set the header and so on.