logmein

How do I call CITRIX (LogMeIn) API via PHP to register new GotoWebinar attendee?

最后都变了- 提交于 2019-12-12 07:23:42
问题 I am using the below code to register user to the webinar: $headers = array( 'HTTP/1.1', 'Accept: application/json', 'Accept: application/vnd.citrix.g2wapi-v1.1+json', 'Content-Type: application/json', 'Authorization: OAuth oauth_token='.$access_token, 'Name_First:test', 'Name_Last:ank', 'Email:ankinfo@yahoo.com', ); $gtw_url = "https://api.citrixonline.com/G2W/rest/organizers/{organizerkey}/webinars/{webinarkey}/registrants"; $curl = @curl_init(); @curl_setopt($curl, CURLOPT_HTTPHEADER,

How do I call CITRIX (LogMeIn) API via PHP to register new GotoWebinar attendee?

陌路散爱 提交于 2019-12-01 01:33:18
I am using the below code to register user to the webinar: $headers = array( 'HTTP/1.1', 'Accept: application/json', 'Accept: application/vnd.citrix.g2wapi-v1.1+json', 'Content-Type: application/json', 'Authorization: OAuth oauth_token='.$access_token, 'Name_First:test', 'Name_Last:ank', 'Email:ankinfo@yahoo.com', ); $gtw_url = "https://api.citrixonline.com/G2W/rest/organizers/{organizerkey}/webinars/{webinarkey}/registrants"; $curl = @curl_init(); @curl_setopt($curl, CURLOPT_HTTPHEADER, $headers); @curl_setopt($curl, CURLOPT_URL, $gtw_url); @curl_setopt($curl, CURLOPT_HTTP_VERSION, CURL_HTTP