Changed Url Encoding - Added try catch for response

Apparently the try catch wasn't moved over...