trying to execute POST method but getting error
robot -d results .\APIs\TC1_GET_Request.robot
TC1 GET Request
Get_User_Info .C:\Users\Dell\AppData\Local\Programs\Python\Python312-32\Lib\site-packages\urllib3\connectionpool.py:1103: InsecureRequestWarning: Unverified HTTPS request is being made to host ‘reqres.in’. Adding certificate verification is strongly advised. See: Advanced Usage - urllib3 2.2.2 documentation
warnings.warn
My script is
*** Settings ***
Library RequestsLibrary
Library Collections
*** Variables ***
#Run the script
#robot -d results .\APIs\TC1_GET_Request.robot
${base_url} https://reqres.in/
*** Test Cases ***
CreateUser_Post
Create Session mysession ${base_url} disable_warnings=1
${body}= Create Dictionary name=ajaybodake job=SSE
${header}= Create Dictionary Content-Type=application/json
${response}= POST On Session mysession /api/users data=${body} headers=${header}
… verify=False
Log To Console ${response.status_code}
Log To Console ${response.content}
#Validations
${status_code}= Convert To String ${response.status_code}
Should Be Equal ${status_code} 201
${res_body}= Convert To String ${response.content}
Should Contain ${res_body} SSE