fixed GET handler returning BadRequest instead of OK