Initializing help system before first use

Making HTTP Requests

You can use the functions dmphttpget, dmphttppost, dmphttpput, dmphttpdel and dmphttphead to send HTTP requests to a DMP component, webservice or DMP Manager. These functions work much the same as the corresponding functions in mmhttp, except instead of passing a destination URL, you pass a destination dmpresource and path relative to this.

In event of an unexpected failure, the request can be retried a number of times until it succeeds, the delay between each retry growing progressively larger. When a dmphttp request returns an HTTP status code found in dmp_retry_error_codes, it will be retried, up to the number of times specified by dmp_max_retries-a value of zero disables the feature.