This C code provides an interface between YottaDB/GTM and libcurl. I developed it because it was getting to be too hard to maintain a performant HTTP library in M. I specifically needed it to provide all the newest features of TLS support.
The following features in libcurl have been implemented:
All HTTP verbs are supported
TLS supported
- normal
- With client certificates (w or w/o passwords)
- With addition CA bundles.
- All TLS versions that curl supports are supported.
HTTP Basic Auth support; none others right now.
Can send in different mime types
Can adjust timeout
Can get back output headers
Ability to reuse the same connection(s) for multiple HTTP requests
COMMENTS