We can send emails through HubSpot CRM using SMTP API. For sending email SMTP, first, we need to create the SMTP tokens. Generate SMTP API Tokens An API token provides both a username and password which can then be used to send email through the HubSpot SMTP API. We can create an SMTP token using the API link below. https://api.hubapi.com/email/public/v1/smtpapi/tokens?hapikey=demo Example: Use the following code for generating json code,
The two industry-wide security vulnerabilities named Meltdown and Spectre are hardware bugs that can allow hackers to steal sensitive information such as passwords, encryption keys from the memory of other programs. They work in different ways, affect different processors from Intel, ARM, and AMD, and require different fixes.
Drupal Technical | 1 min read
HubSpot CRM manage sales processes of organizations. We can create contacts, company, leads, tasks using direct HubSpot CRM UI or using APIs provided by HubSpot. Here we are going to look at the APIs to create, update and delete companies. Create a Company This API is useful when we are integrating HubSpot with other site. https://api.hubapi.com/companies/v2/companies?hapikey=demo&portalId=62515 Required Parameters to send Request
Technical Solution | 1 min read
Here we describe the steps to find number of likes and shares for an article listed on your website. We can pull the count of like and share for a URL using API links: https://api.facebook.com/method/links.getStats?urls=YOUR_URL_HERE&format=json The json response is like this
Amazon S3 provides API for multipart upload of large files. Multipart upload allows you to upload a large object as a set of small parts/portion of the object's data. You can upload these small object parts independently. If transmission of any part does not succeed, you can retransmit it without affecting other parts. Amazon S3 combines all the parts and make a single object after all the parts are uploaded.
Business Solution | 1 min read
New Relic is a web application performance service designed to work with live webapp. Using this tool, a developer can analyze and increase a site's performance. New Relic works with web development languages like PHP, Python, Ruby, Java etc. Your system should meet New Relic's PHP compatibility and requirements. Note that New Relic supports only the PHP 5.4.x or 5.5.x series.
The AWS SDK provides API for multipart upload of large files to Amazon S3. We upload large images by part using this API. Multi-part API divides the large object into small objects, uploaded it to amazon independently. After the upload completes it assembles into a single object. If we need the following requirement you can use low-level API : Change sizes of part during the upload. Size of the data in unknown in advance. We need the following procedure to upload files to the amazon bucket.
Drupal Technical | 1 min read
To process very large data is very much time-consuming, it may lead to PHP timeout error. To process very large data, Drupal offers a batch API. The Batch API allows you to run one or more operations on a large set of data without timeout and feedback on the progress of the operation. Advantage of Batch API: Avoid PHP timeout. Display the progress of the process. Avoid out of memory situations. Let's look a simple example in Drupal 6 that use batch API:
News | 2 min read
Amazon S3 provide API for multipart upload of large files. Multipart upload allows you to upload a large object as a set of small parts/portion of the object's data. You can upload these small object parts independently. If transmission of any part is not succeed, you can retransmit it without affecting other parts. Amazon S3 combines all the parts and make a single object after all the parts are uploaded.