Poc js api backend communication