Added get_or_abort method and tested it using the phone GET api call