Getting Data In

REST API in custom command

Communicator

Hi,

I would like to implement a new command to do operations with kvstorage, with my own Python script.
How can I use REST API (get the Session Key) inside my custom command?

Tags (3)
0 Karma
1 Solution

Communicator

OK, found it.

Example is in etc/apps/search/bin/input.py
And one have to add passauth = true to commands.conf

View solution in original post

0 Karma

Communicator

OK, found it.

Example is in etc/apps/search/bin/input.py
And one have to add passauth = true to commands.conf

View solution in original post

0 Karma