I am continually receiving 403 forbidden when access the jsonrpc.cgi. I thought it was something with the Apache server related to my instance but I am also receiving a similar issue when posting to landfill..
Does landfill allow testing of jsonrpc methods? I should at a minimum be able to receive the token to use with subsequent request?
here is the code
// Get cURL resource
$curl = curl_init();
// Set some options - we are passing in a useragent too here
CURLOPT_RETURNTRANSFER => 1,
CURLOPT_URL => 'https://landfill.bugzilla.org/bugzilla-4.4-branch/jsonrpc.cgi',
CURLOPT_USERAGENT => 'Codular Sample cURL Request',
CURLOPT_POST => 1,
CURLOPT_POSTFIELDS => array(
Bugzilla_login => 'username',
Bugzilla_password => 'password'
// Send the request & save response to $resp
$response = curl_exec($curl);