Calling a REST API from a keyword test
Ok... I've looked at the docs and searched the web, and I can't believe I haven't found an obvious answer to this question: Is there an easy way for me to call a REST API during my keyword test and easily extract an answer from the result? Here are a couple of scenarios I need to implement: I want to call the API at https://validator.w3.org/nu to validate the HTML markup on each of my web pages As part of my website's "Forgot my password" workflow, the user has to enter a validation code that I send to the user's phone. I would like to expose an API on my website that returns the validation code for my "test user" account, so that I can fetch the validation code and enter it on the page in my workflow where the user would read it from the phone and manually enter it.Solved3.4KViews0likes5Comments