Available Methods
https://gcmsdk.azurewebsites.net/CheckPort/{guid}/{ipaddress}/{port}/{protocol}
Query String Parameters
{guid}: String: API Key required for authentication
{ipaddress}: String: FQDN/IP Address to be checked
{port}: String: Port of FQDN to be checked
{protocol}: String: Options are TCP or UDP
Example Request
curl – request GET \
--url 'https://gcmsdk.azurewebsites.net/CheckPort/{guid}/sipdir.online.lync.com/443/TCP'
--include
OR
Powershell> Invoke-RestMethod -Url https://gcmsdk.azurewebsites.net/CheckPort/{guid}/sipdir.online.lync.com/443/TCP
--url 'https://gcmsdk.azurewebsites.net/CheckPort/{guid}/sipdir.online.lync.com/443/TCP'
--include
OR
Powershell> Invoke-RestMethod -Url https://gcmsdk.azurewebsites.net/CheckPort/{guid}/sipdir.online.lync.com/443/TCP
Example Response
[
{
"IPAddress": "www.google.com",
"Port": 443,
"Protocol": "TCP",
"Result": "Open"
}
]
{
"IPAddress": "www.google.com",
"Port": 443,
"Protocol": "TCP",
"Result": "Open"
}
]