Hello @rahulg1930481
You can try the use the HTTP client request method to check that.
Here is the sample code
var req = new HttpClientRequest('https://url.com/page-with-form');
req.method = 'GET';
req.execute();
var response = req.response;
if(response.code != 200){
logError('Server returned not HTTP 200: HTTP', response.code, response.body);
}
response.code will give you have HTTP status code for your request/url.
Thanks,
Manoj