[Core] Refactoring index and get_uri method (fixes #10).
[Core] Optimization usng a try catch it's better, more speed for few
reasons.
Merge pull request #11 from hobbestigrou/10-refactoring_verb_http_call

[Core] Refactoring index and get_uri method (fixes #10).