This is a reminder that this page is for you if you already purchased Geonode’s services and want to know how to use them. If you want a guide on how to purchase our services, you can check it out here.
Setting Connection Timeout
Setting a connection timeout can be useful in a variety of situations, such as when you want to ensure that a request completes within a certain timeframe or when you want to avoid waiting for a response from a slow or unresponsive server.
To customize the timeout for each request, you can use the following cURL command and append the parameter "timeoutSessions-<seconds>" to the username:
Request
GET
curl -x <service-name>.geonode.com:10000 -U <username>-timeoutSeconds-<seconds>:<password> http://example.com
Parameters
- Name
service-name
- Type
- pay-as-you-go-residential
- Description
(Required) The service name. Currently the only option is pay-as-you-go-residential.
- Name
seconds
- Type
- number
- Description
(Required) The custom timeout of your choice in seconds.
Authentication (Basic Auth)
- Name
username
- Type
- string
- Description
(Required) Your API username.
- Name
password
- Type
- string
- Description
(Required) Your API password.
Please note that the maximum value for timeoutSeconds is 3600 seconds.