Question about connector API to communicate with local standalone zotero
I've been playing around with standalone zotero trying to add items from the command line using the connector api.
Attempting to add an item with http://127.0.0.1:23119/connector/savePage I either get an internal server error (500) if I pass a uri for which zotero doesn't have a translator, or I get a timeout after 30s if I pass one for which it does.
Clearly I am misunderstanding something, so could someone point me in the right direction to be able to add items like this?
My end ambition is to be able to pass a url to a command line program and have a webpage item created if no translator exists, otherwise have another type of item created.
Thank you.
Attempting to add an item with http://127.0.0.1:23119/connector/savePage I either get an internal server error (500) if I pass a uri for which zotero doesn't have a translator, or I get a timeout after 30s if I pass one for which it does.
Clearly I am misunderstanding something, so could someone point me in the right direction to be able to add items like this?
My end ambition is to be able to pass a url to a command line program and have a webpage item created if no translator exists, otherwise have another type of item created.
Thank you.
There's more details/intricacies to the endpoint which we can discuss in the mailing list if you run into problems.