CGI interview question

Describe the syntax for setting up api authentication between front end and back end