Age | Commit message (Collapse) | Author |
|
This one follows the example given for the boolean JSON value,
which is written as true or false.
The response is error 500, internal server error.
Despite the example, it says max length is 1 in the middle part
of the doc, so maybe it should be written as 1 or 0.
Will be tried next.
|
|
We use Interchange as a reference, and the unit weight is not saved
to database for the transaction, only shipping cost.
So to make it convenient for the library users, the total weight
calculation is done by the library, so no need to pass any total
weight argument.
|
|
By making sure it's always concatenated with a null terminated
string, AND fix the index that gets null terminated in the end.
|
|
|
|
Not tested yet.
Now the item object is still flattened as an array, initially
to hurry the interfacing with the Perl module.
But we were stuck with having to typemap char *** anyway,
so we switch to SWIG because of the potential of ease.
Still, we need to typemap char ***, but now that we're at SWIG,
we might as well typemap a custom item struct.
|
|
so the common part gets to be reused.
|
|
|
|
when it needs to be global anyway.
|
|
|
|
because libcurl's verbose will hit anyway.
There's no point trying to debug for a company
and not the others.
|
|
|
|
Log will show up with libcurl's before the HTML,
and only log that is within libcurl's, i.e. in the WRITEFUNCTION.
|
|
|
|
|
|
|
|
At the same time, refactor the JSON handling.
|
|
|
|
|
|
with 1 module so far.
|