Hey there, i am trying to call a simple GET request, while passing “Header” attributes to the GET request. Without the “Header” attributes" i was getting “Forbidden 403” error.
Anyway, i am not able to somehow get a correct response.
Domain uses “cloudflare” so i am not sure, if this is the issue, or if my request is just not correct.
*** Settings ***
Library RequestsLibrary
*** Variables ***
${BASE_URL} https://www.alza.sk
*** Test Cases ***
Check availability of GPU
[Documentation] Get response from Alza.sk
Create Session alza ${BASE_URL}
${DictBody} = Create Dictionary Host=https://www.alza.sk User-Agent=Mozilla/5.0 Content-Type=application/json Accept=*/* Accept-Encoding=gzip, deflate, br Connection=keep-alive
${RequestBody}= GET ${BASE_URL} headers=${DictBody}