I am currently running API automation and am required to pass my API Key as well.
I am thinking I need to add this to my header EX: header={“x-apikey” : ‘key’} But I have tried this in numerous ways and it has failed… I am also thinking this can be added to the request body…
With RequestsLibrary you can easily do that.
In this file you can find examples how to set headers once for all the requests executed on the same session or how to set headers only for a specific request.