Junior — Middle
Can you give an example of a header you have repeatedly encountered in practice?
sobes.tech AI
Answer from AI
In QA practice, HTTP request headers such as:
Authorization— for transmitting tokens or access keys.Content-Type— indicates the format of the transmitted data, e.g.,application/json.Accept— specifies the expected response format.User-Agent— information about the client application.
Example header:
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...
Content-Type: application/json
Accept: application/json
These headers are often used in API testing and request automation.