Skip to main content

The Location Property

The Location Property

The Location property specifies the resource that you are requesting from the web server. If you set this property, then when you call the Get(), Head(), Post(), or Put() method, you can omit the location argument.

For example, suppose that you are sending an HTTP request to the URL http://machine_name/test/index.html

In this case, you would use the following values:

Example Properties for %Net.HttpRequest
Properties Value
Server machine_name
Location test/index.html
FeedbackOpens in a new tab