Code examples

The code examples in this topic are simple requests with start dates, using the following information:

  • Username — aladdin@company.com

  • Password — IDreamofGenie

  • Datacentre — Australia

  • Start date — 27 Nov 2017

PHP HttpRequest

PHP httpRequest example.

cURL

cURL example.

JavaScript Jquery AJAX

JavaScript Jquery AJAX example.

Python http.client Python3

Python http.client Python3 example.

Ruby (NET::http)

Ruby (NET::http) example.

Swift (NSURL)

Swift (NSURL) example.