Set Header

From UBot Studio
Jump to: navigation, search

Set Header is a Settings Command in the Professional edition of UBot Studio.

This command sets the header for future browser requests.

The command accepts the following header requests:

Accept

Accept-Charset

Accept-Encoding

Accept-Language

Accept-Datetime

Authorization

Cache-Control

Connection

Cookie

Content-Length

Content-MD5

Content-Type

Date

Expect

From

Host

If-Match

If-Modified-Since

If-None-Match

If-Range

If-Unmodified-Since

Max-Forwards

Origin

Pragma

Proxy-Authorization

Range

Referrer

TE

User-Agent

Upgrade

Via

Warning


For more information on how headers work, see here.


Name of the Header: Header who's value is being set.

Desired Value of the Header: The value the header is being set to.


Example


set header("Accept-Language","ja")
wait(1)
navigate("https://www.whatismybrowser.com/detect/what-http-headers-is-my-browser-sending","Wait")


Running the scripts changes the Accept-Language header request to the value ja, which is the Japanese.


Setheader.jpg

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox