Recent searches


No recent searches

Aram Ghazaryan's Avatar

Aram Ghazaryan

Joined Feb 09, 2022

·

Last activity Feb 11, 2022

Following

1

Followers

0

Total activity

4

Vote

1

Subscription

1

ACTIVITY OVERVIEW

Latest activity by Aram Ghazaryan

Aram Ghazaryan commented,

Community comment Developer - Zendesk Apps Framework (ZAF)

He Sebastiaan

 

Thanks for the feedback

I want to create a ticket, unfortunately this problem occurred

I use php << Laravel Framwork >>

This is the code I wrote ՝

$subdomain = "https://testingcomphelp.zendesk.com";
$username = "a480011@mail.ru"; // replace this with your registered email
$token = "XXXPPHJJKKL"; // replace this with your token


// Create a new ticket
$newTicket = $client->tickets()->create([
'subject' => 'The quick brown fox jumps over the lazy dog',
'comment' => [
'body' => 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, ' .
'sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.'
],
'priority' => 'normal'
]);
print_r($newTicket);

View comment · Edited Feb 11, 2022 · Aram Ghazaryan

0

Followers

0

Votes

0

Comments


Aram Ghazaryan created a post,

Post Developer - Zendesk Apps Framework (ZAF)

GuzzleHttp\Exception\ConnectException

cURL error 6: Could not resolve host: https (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://https//testingcomphelp.zendesk.com.zendesk.com:443/api/v2/tickets.json

Posted Feb 09, 2022 · Aram Ghazaryan

0

Followers

2

Votes

3

Comments