Anglarjs2 - Http get request : Error: unable to parse url ..original error: Cannot read property 'split' of undefined in [null]
<p>Getting below error in browser console, when I'm using get Url as web api in Hero.service.ts. But It's working fine when I used with .Json file with in a that project as I'm able to see the values in output page.  I'm just learning with angular.io website. </p>

<p><strong>Below is the error in the console:</strong></p>

<pre><code>angular2-polyfills.js:471 Error: Uncaught (in promise): EXCEPTION: Error: unable to parse url 'http://md5.jsontest.com/?text=example_text'; original error: Cannot read property 'split' of undefined in [null](…)consoleError @ angular2-polyfills.js:471

Get url: http://md5.jsontest.com/?text=example_text
</code></pre>

<p>Here is that entire code available,</p>

<p><a href="http://plnkr.co/edit/ZPVCT63pRIT0CLKU9Hr7?p=preview" rel="nofollow">Plunker</a></p>

<p>Could you please help me what i'm doing wrong in this?</p>