Chilkat v11.6.0 / v11.6.1 Release Notes
See Release Notes for Versions 11.6.0 and 11.6.1
See Release Notes for Versions 11.6.0 and 11.6.1
✨ New Features HttpCurl A new Chilkat class has been added: HttpCurl The Chilkat.HttpCurl class executes curl commands and can automatically resolve dependent values needed by a request. Variables such as {{access_token}}, {{site_id}}, or {{drive_id}} may appear in URLs, headers, query parameters, or request bodies. If a variable is not yet known, HttpCurl builds […]
✨ New Features Js A new Chilkat class has been added: Js is a minimal, standards-compliant JavaScript engine designed to embed JavaScript inside applications with very small footprint and fast startup. It executes JavaScript code inside an application without requiring a browser or large runtime. See About the Chilkat.Js JavaScript Engine Ai Provider — […]
If an HTTP GET works in a browser, but does not work from your application, then check to see if your site uses Cloudfare with the Browser Integrity Check turned on. If so, then for testing purposes, temporarily turn BIC off, and try again. The Browser Integrity Check (BIC) feature in Cloudflare is a security […]
Question: A particular REST/Web API returns a cookie. I need to capture this cookie and use it when sending subsequent POSTs. For example, this is the CURL statement to login and save the response cookie(s) to a file. curl -c cookies.txt -H “Content-Type: application/json” -X POST -d ‘{“username”:”user”,”password”:”pass”}’ http://192.168.1.1/api/login Then I need to use the […]
Question: I’m using VB6. Can you tell me how I would use your software to duplicate this VB6 code snippet? I can’t seem to find a way to set headers, use OPEN or SEND. Any help would be appreciated. ‘ Specify the API URL URL = “…” ‘ I have the proper URL ‘ Create […]
There are two possible ways to write the code. (1) Upload the Audio File to Google Cloud Storage First write code to upload the audio file to Google Cloud Storage. For example, see: AutoIt Upload File to Google Cloud Storage C Upload File to Google Cloud Storage Chilkat2-Python Upload File to Google Cloud Storage C++ […]
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
If you see the error lines “The connection already exists, as far as we know..” followed by “socketError: Broken pipe” in any LastErrorText for a method that sends an HTTP request, it means the following: The server replied to the previous request without a “Connection: close” header, thus allowing the client to keep the connection […]
This is a note about the pitfalls of progress monitoring HTTP requests sent from an installed app (i.e. not web app running in a browser). Ideally, we’d like to know how long an HTTP POST is going to take, and update the percent-completed visually so that when it reaches 100% the operation is neatly finished […]
Question: I am having a problem identifying read timeouts from sites. I set ConnectTimeout and ReadTimeout properties of the HTTP object. When the site fails to respond within ReadTimeout, the following happens: PText still returns 0 PText returns a response object Reading of StatusCode and StatusText properties of the response object is successful Reading of […]
This blog post describes a general procedure for writing code that calls an HTTP/HTTPS POST REST API and parses the JSON or XML response. Step 1: Form the CURL Command A POST request in the form of a CURL command will look like this: curl -X POST https://test-api.service.hmrc.gov.uk/organisations/vat/123456789/returns \ -H “Accept: application/vnd.hmrc.1.0+json” \ -H “Content-Type: […]
What is the difference between an HTTP Upload and a SOAP Request? An upload is an HTTP request that uses the multipart/form-data content-type. (All HTTP requests and responses are MIME, and the format of a given request is determined by the content-type.) A SOAP request, on the other hand, has a content-type of text/xml, which […]