Connecting to the API

From MyMobileWorkers API
Jump to: navigation, search

The WebAPI toolkit is located on a separate server to the live MyMobileWorkers server. The url is

HTTPS : https://api.mymobileworkers.com:8181/api/1/

Avoid using this insecure http option where possible - HTTP : http://api.mymobileworkers.com:8080/api/1/

Each version of the API will have a new URL to prevent causing problems with existing solutions. For further information please see the versioning.

Certificate Authority (CA) Error

The API server's certificate for HTTPS requires the AlphaSSL Intermediate CA from 2014 and the GlobalSign Root CA. These are likely to be in your server's existing CA certificates file, but if they are not you may get an error when making a call to our API, such as:

"SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed"

If this occurs then you may need to update your CA certificates file.

A good source of an up-to-date CA certificates file is: https://curl.haxx.se/docs/caextract.html

If you wish to add only the files to an existing certificate file, you can get that from: https://www.alphassl.com/support/install-root-certificate.html

Consult your software's documentation for details on how to ensure the new CA cert file is used when making a connection.


Development

For the purposes of development MyMobileWorkers can provide test environments to aid testing before going live. For further information please contact support.

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox