api - http client

Difference between version 0 and 3 - Previous - Next
&| What | '''api''' http client library with cookie support |&
&| Where | https://at.magma-soft.at/darcs/tcl/api |&
&| Description | http client library modeled after [DKF]'s [rest] code, with Cookie support. |&
&| Tested on:  | Linux |&
&| Contact:    | [LEG] |&
&| Updated     | 07/2025 |&
&| Status      | active development |&

'''api''' was created because of three needs:

   * Session cookie based authentication.
   * Ability to have several http client objects.
   * Compatiblity with the [Jim] Tcl interpreter.
I copied [DKF]s related code on this wiki (now [rest]) and added what was needed for me. '''api''' uses the [thing] `o_o` package.

On Jim I use an old version of the [http] package which is packaged with [Tcl4Jim].
Note: since version 2.10 the official `http` package also has cookie support, which I'm sure is much better then the implementation in '''api'''.

'''api''' is featured in my talk on [CalTasks] at [EuroTcl2025]