Skip to content

Commit

Permalink
Verify certs for HTTPS URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
dshafer committed Jul 22, 2025
1 parent 8c10e4d commit b6180b1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions MDQ.robot
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,26 @@ Library RequestsLibrary
*** Keywords ***
Get All Entities
[Arguments] ${baseUrl}
Create Session md ${baseUrl}
Create Session md ${baseUrl} verify=True
${resp}= GET On Session md /entities
RETURN ${resp}

Get Entity
[Arguments] ${baseUrl} ${identifier} ${expectedStatus}=200
Create Session md ${baseUrl}
Create Session md ${baseUrl} verify=True
${resp}= GET On Session md /entities/${identifier} expected_status=${expectedStatus}
RETURN ${resp}

Get Entity With Gzip
[Arguments] ${baseUrl} ${identifier}
Create Session md ${baseUrl}
Create Session md ${baseUrl} verify=True
&{headers}= Create Dictionary Accept-Encoding=gzip
${resp}= GET On Session md /entities/${identifier} headers=${headers}
RETURN ${resp}

Conditional Get Entity
[Arguments] ${baseUrl} ${identifier} ${etag}
&{headers}= Create Dictionary If-None-Match=${etag}
Create Session md ${baseUrl}
Create Session md ${baseUrl} verify=True
${resp}= GET On Session md /entities/${identifier} headers=${headers}
RETURN ${resp}

0 comments on commit b6180b1

Please sign in to comment.