When using the Cloudmersive API Clients, you may wish to configure which API endpoint to use. Cloudmersive Clients default to https://api.cloudmersive.com and paid plans include access to additional endpoints, such as the high-availability endpoint.
To get the endpoint URLs available for your plan, navigate to the Cloudmersive Management Portal, and click on API Endpoints in the navigation bar. You will see a list of endpoints available to you.
To configure the .NET Framework client, simply add this line of code into your application:
Configuration.Default.BasePath = "https://api.cloudmersive.com";
In this example, we set the endpoint to the default; to get a list of available API Endpoints, navigate to the Cloudmersive Management Portal and click on API Endpoints in the navigation bar.
To configure the .NET Core client, simply add this line of code into your application:
Configuration.Default.BasePath = "https://api.cloudmersive.com";
In this example, we set the endpoint to the default; to get a list of available API Endpoints, navigate to the Cloudmersive Management Portal and click on API Endpoints in the navigation bar.
To configure the Python client, simply add this line of code into your application:
api_instance.api_client.configuration.host = "https://api.cloudmersive.com"
In this example, we set the endpoint to the default; to get a list of available API Endpoints, navigate to the Cloudmersive Management Portal and click on API Endpoints in the navigation bar.
To configure the Ruby client, simply add this line of code into your application:
config.host = 'https://api.cloudmersive.com'"
In this example, we set the endpoint to the default; to get a list of available API Endpoints, navigate to the Cloudmersive Management Portal and click on API Endpoints in the navigation bar.
To configure the Java client, simply add this line of code into your application:
defaultClient.setBasePath("https://api.cloudmersive.com");
In this example, we set the endpoint to the default; to get a list of available API Endpoints, navigate to the Cloudmersive Management Portal and click on API Endpoints in the navigation bar.
To configure the Node.js client, simply add this line of code into your application:
defaultClient.basePath = "https://api.cloudmersive.com";
In this example, we set the endpoint to the default; to get a list of available API Endpoints, navigate to the Cloudmersive Management Portal and click on API Endpoints in the navigation bar.
To configure the PHP client, simply add this line of code into your application:
$config->setHost("https://api.cloudmersive.com");
In this example, we set the endpoint to the default; to get a list of available API Endpoints, navigate to the Cloudmersive Management Portal and click on API Endpoints in the navigation bar.
To configure the Apex client, simply add this line of code into your application:
client.basePath = "https://api.cloudmersive.com";
In this example, we set the endpoint to the default; to get a list of available API Endpoints, navigate to the Cloudmersive Management Portal and click on API Endpoints in the navigation bar.