I would like to test the activation of a user. To validate the creation of a user, I click on a "Valid" button and the front-end requests the back-end to send a POST request.
My goal is to retrieve the answer to this query.
I have tried these keywords:
*** Setting ***
Library    SeleniumLibrary
Library    HttpLibrary.HTTP    
*** Keyword ***
!Confirm entry
    [Arguments]    ${id_button}
    Wait Until Element Is Visible    ${id_button}
    Click Element    ${id_button}
    Response Status Code Should Equal    200
Or
*** Setting ***
Library    SeleniumLibrary
*** Keyword ***
!Confirm entry
    [Arguments]    ${id_button}
    Wait Until Element Is Visible    ${id_button}
    ${status}    Run Keyword And Return    Click Element    ${id_button}
These two solutions don't give me satisfaction.
Would you, please, have an idea of the keywords to use in Robotframework to solve my problem?