modify the bug http api