test cloud code http api