Endpoint Monitoring with Basic Authentication


Need your expertise here.
I have a requirement to monitor an Url endpoint where I need to hit the url and then pass username and password and if the credentials are correct then success else failed

For example,

  1. Go to www.gmail.com
  2. pass the username and password
  3. if the credentials are valid, return success else failed with the corresponding http response code

Can this be possible with blackbox exporter or any other suggestions please.