Closed mb21 closed 9 years ago
To clarify this, currently when using the generated JS client on node.js you need to initialize a cookie jar manually like this if you want cookie handling:
Api.defaultAjaxOptions.jar = require("request").jar();
This should be done inside base.js instead, and not globally. Each Api instance should get its own cookie jar.
This has been fixed!
Update base.js to produce something like in this latest commit.
This doesn't force the consumer of the silk module (like
example.js
) to requirerequest
if he wants to run with the default config.