Generate Chilkat Code from PostMan

This is a way to generate Chilkat source code from a working PostMan request: Open Postman: Launch the Postman application on your computer. Create or Import a Request: Create a new request or import an existing one that you want to inspect the raw HTTP request for. Send the Request: Click the “Send” button to send the request to the […]

How to Send application/x-www-form-urlencoded POST to a URL with some Params

Question I need to get a token: URL TEST : “https://apitest.dtes.mh.gob.sv/seguridad/auth” Method : POST Parameters Headers Content-type : application/x-www-form-urlencoded Body user (string) pwd (string) Answer See the online tutorial explaining common HTTP requests at Format of Common HTTP Requests. Specifically, look here: https://www.chilkatsoft.com/http_post_url_encoded.asp

Does XML Convert to JSON in an Unambiguous Way?

Chilkat does not provide functionality for XML-to-JSON conversion (or the reverse) because XML does not convert to JSON in an unambiguous way. XML and JSON have different structural and data modeling principles, leading to potential challenges and ambiguities during the conversion process. Some factors that contribute to the potential ambiguities are: Hierarchical vs. Flat Structure: XML supports deeply nested hierarchical […]

LoadPfxFile Takes a Long Time to Load?

Question: I’m using the LoadPfxFile method of the cert object and it takes about 4 or 5 seconds in load the PFX certificate. On the other hand, if I sign the document using an installed certificate, it’s instantaneous. Why does LoadPfxFile take so much time? Is there a way to reduce the loadPfxFile time? Answer: When a password is used […]

Chilkat v9.5.0.94 Release Notes

Previous Version: https://cknotes.com/chilkat-v9-5-0-93-release-notes/ Next Version: https://cknotes.com/chilkat-v9-5-0-95-release-notes/ Chilkat v9.5.0.94 Release Notes FTP2: Fixed problems with some FileZilla FTP servers requiring TLS 1.3 session resumption for the data connections. SFTP: Fixed problem where Chilkat may not have honored the max_packet_size limit imposed by some servers for SFTP uploads. PDF: Fixed problems when signing PDF’s for ICP Brasil (https://verificador.iti.br/) The ICP Brasil validator […]

C++ CkHttp AbortCheck Callback

Chilkat classes that involve network communications can use callbacks. This blog post describes the CkHttp AbortCheck callback. An application can request periodic AbortCheck callbacks according to the HeartbeatMs property setting. (If HeartbeatMs = 0, then no AbortCheck callbacks will occur.) For example:

Delphi Binary Data

This post shows some code snippets for getting data from Delphi Byte arrays (TBytes) and TMemoryStream’s in and out of Chilkat. First, here are some code snippets to convert from a TMemoryStream to a byte array, and back. Delphi TBytes to TMemoryStream

office365.com SMTP, POP3, IMAP OAuth2 Tips, Hints, and Solutions

This page will be updated as time progresses with what we’ve learned about getting things working with OAuth2 authentication for office365.com using the email protocols: SMTP, POP3, and IMAP. How do Other Office365 Users Send Email using my App Registered in my Azure Active Directory? It’s important to understand Tenancy in Azure Active Directory Apps.   See this https://learn.microsoft.com/en-us/azure/active-directory/develop/single-and-multi-tenant-apps When you […]