Knowledge base / Since 1999
Advanced
search
Practical notes on CRM development, automation, APIs and everyday IT.
Browse all notes20 results
Zoho CRM: APIv2 using PHP & cURL
... icle documenting how to access ZohoCRM with API v2 using PHP and cURL. The first few functions are to manage OAuth v2 and generate the refresh and access tokens. The second snippet of code below is using the functions to read data from Zoho ...
Google Authentication - OAuth 2.0 using PHP/cURL
... lencode($REDIRECT_URI) . '&grant_type=authorization_code'; $ch = curl_init(); curl_setopt($ch, CURLOPT_POSTFIELDS, $post_fields); curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_UR ...
Upload file to Google Drive with PHP/cURL and API REST v3 (without Client Library)
... $access_token, $file, $mime_type, $name) { global $GAPIS; $ch1 = curl_init(); // don't do ssl checks curl_setopt($ch1, CURLOPT_SSL_VERIFYPEER, false); curl_setopt($ch1, CURLOPT_SSL_VERIFYHOST, false); // do other curl stuff curl_setopt($ch1 ...
TravelPort Universal API - Ping Request with PHP-cURL
Applies to: TravelPort Universal API PHP 4 or 5 cURL What? An article on how to resolve errors and setup a standard ping request using the TravelPort Universal API. This is to be achieved using PHP as the server-side programming language an ...
Convert XML UTF-16 to JSON UTF-8 with PHP cURL
Previously titled Fix PHP cURL: parser error: Document labelled UTF-16 but has UTF-8 content What? This is an article with notes for me on how to convert some received XML encoded in UTF-16 to some JSON in UTF-8. If it were entirely in UTF- ...
Submit form as a server and not the client with cURL
... the server IP address. We're going to use a PHP script with the cURL function to receive and send the data. cURL is a standard feature on most LAMP setups. If not you can install it from here: http://curl.haxx.se/download.html I'm demonstr ...
Xero API: Standard PHP/cURL Create Invoice
Log in to read this protected note.
MacOs: Transcribe Training Video using OpenAI Whisper
... an English Speech Model: mkdir -p ~/vosk-models cd ~/vosk-models curl -O https://alphacephei.com/vosk/models/vosk-model-small-en-us-0.15.zip unzip vosk-model-small-en-us-0.15.zip Convert Your MP4 to MP3 (extract the audio from the video) ff ...
ZohoCreator: Basic Widget with Zoho Data
... r: JS API documentation Joel Lipman: Zoho CRM: APIv2 using PHP & cURL
Zoho Inventory & eBay Picture Services: UploadSiteHostedPictures
... // // determine the public URL of the file on this record v_PublicUrl = "https://creatorapp.zohopublic.eu/file" + zoho.appuri + "Inventory_Photo_Report/" + input.ID + "/Creator_File/download/" + v_PublishKey + "?filepath=/" + input.Creator_ ...
Zoho Creator: Shopify API Integration Oauth 2.0 - Update 2022 (Search by SKU GraphQL)
... v_ShopifyApiVersion.toString() + "/products.json?limit=5"; // // curl (zoho invoke) request r_GetProduct = invokeurl [ url :v_Endpoint type :GET headers:m_Header ]; // // output info r_GetProduct; GraphQL: Usage example: And here's a quick ...
ZohoCRM & Xero Real-Time Invoices: Receive Webhook
... _type=apikey&zapikey=<YOUR_ZOHO_API_KEY>"; // build and send via cURL $ch = curl_init(); curl_setopt( $ch, CURLOPT_HEADER, 0 ); curl_setopt( $ch, CURLOPT_URL, $v_Zoho_Url ); curl_setopt( $ch, CURLOPT_POST, 1 ); curl_setopt( $ch, CURLOPT_POS ...