./docs/DomainApi.md in cloudmersive-validate-api-client-1.3.4 vs ./docs/DomainApi.md in cloudmersive-validate-api-client-1.3.5

- old
+ new

@@ -4,10 +4,11 @@ Method | HTTP request | Description ------------- | ------------- | ------------- [**domain_check**](DomainApi.md#domain_check) | **POST** /validate/domain/check | Validate a domain name [**domain_post**](DomainApi.md#domain_post) | **POST** /validate/domain/whois | Get WHOIS information for a domain +[**domain_url_syntax_only**](DomainApi.md#domain_url_syntax_only) | **POST** /validate/domain/url/syntax-only | Validate a URL syntactically # **domain_check** > CheckResponse domain_check(domain) @@ -102,9 +103,63 @@ **domain** | **String**| Domain name to check, for example \"cloudmersive.com\". The input is a string so be sure to enclose it in double-quotes. | ### Return type [**WhoisResponse**](WhoisResponse.md) + +### Authorization + +[Apikey](../README.md#Apikey) + +### HTTP request headers + + - **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded + - **Accept**: application/json, text/json, application/xml, text/xml + + + +# **domain_url_syntax_only** +> ValidateUrlResponseSyntaxOnly domain_url_syntax_only(request) + +Validate a URL syntactically + +Validate whether a URL is syntactically valid (does not check endpoint for validity). Accepts various types of input and produces a well-formed URL as output. + +### Example +```ruby +# load the gem +require 'cloudmersive-validate-api-client' +# setup authorization +CloudmersiveValidateApiClient.configure do |config| + # Configure API key authorization: Apikey + config.api_key['Apikey'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['Apikey'] = 'Bearer' +end + +api_instance = CloudmersiveValidateApiClient::DomainApi.new + +request = CloudmersiveValidateApiClient::ValidateUrlRequestSyntaxOnly.new # ValidateUrlRequestSyntaxOnly | + + +begin + #Validate a URL syntactically + result = api_instance.domain_url_syntax_only(request) + p result +rescue CloudmersiveValidateApiClient::ApiError => e + puts "Exception when calling DomainApi->domain_url_syntax_only: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **request** | [**ValidateUrlRequestSyntaxOnly**](ValidateUrlRequestSyntaxOnly.md)| | + +### Return type + +[**ValidateUrlResponseSyntaxOnly**](ValidateUrlResponseSyntaxOnly.md) ### Authorization [Apikey](../README.md#Apikey)