\jomres_call_api

Summary

Methods
Properties
Constants
__construct()
send_request()
$server
No constants found
No protected methods found
No protected properties found
N/A
init()
init_manager()
query_api()
$token
N/A

Properties

$server

$server : 

Type

$token

$token : 

Type

Methods

__construct()

__construct(  $user_id = 'system') 

Parameters

$user_id

send_request()

send_request(  $method = '',   $endpoint = '',   $data = array(),   $headers = array()) 

Parameters

$method
$endpoint
$data
$headers

init()

init() 

init_manager()

init_manager() 

query_api()

query_api(  $method = 'GET',   $endpoint = '',   $data = array(),   $headers = array()) 

Parameters

$method
$endpoint
$data
$headers