Forum Discussion

andrewmjones's avatar
andrewmjones
Icon for Nimbostratus rankNimbostratus
Nov 05, 2017

Testing a health monitor with CURL get

When using CURL to test a health monitor with a GET, can you include a username and password

 

2 Replies

  • Do you mean http authentication, if yes, use this:

    curl --user user:pass http://xyz.com/abc.page
  • It's totally up to the application side. If the application requires authentication to access the HTTP page you should specify username and password. If not, you don't need to specify username and password.