We have implemented ticket create API from our front and it was working fine in past.
But now its not working and giving us error.
The curl code in PHP that we have implemented is as below.
$resPonseTicket = $curl->curlPostOperation_2('
https://api.assembla.com/v1/spaces/' . SpaceID . '/tickets.json', '' .
json_encode($postData) . '', array(
'X-Api-Key: '.APIkey.'',
'X-Api-Secret: '.APIKeySecret.'',
'Content-type: application/json'
)
);
And we are getting below response from API.
HTTP/1.1 403 Forbidden
Date: Mon, 18 Apr 2022 08:07:03 GMT
Content-Type: application/json
Content-Length: 0
Connection: keep-alive
X-Request-Id: 3971e039-18cd-4650-bb68-29f33b8abe99
X-Frame-Options: SAMEORIGIN
Cache-Control: no-cache
Referrer-Policy: strict-origin-when-cross-origin
X-Permitted-Cross-Domain-Policies: none
X-XSS-Protection: 1; mode=block
X-Download-Options: noopen
X-Runtime: 0.051740
X-Content-Type-Options: nosniff
Status: 403 Forbidden
CF-Cache-Status: DYNAMIC
Expect-CT: max-age=604800, report-uri="
https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
Server: cloudflare
CF-RAY: 6fdbe7982e2a58ba-IAD
Please check and suggest .
Thanks and Regards
Maninder Sharma