<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Javascript on Isaac Levin</title><link>https://example.com/tags/javascript/</link><description>Recent content in Javascript on Isaac Levin</description><generator>Hugo</generator><language>en</language><managingEditor>isaac@isaaclevin.com (Isaac Levin)</managingEditor><webMaster>isaac@isaaclevin.com (Isaac Levin)</webMaster><lastBuildDate>Fri, 18 Aug 2017 11:15:58 -0400</lastBuildDate><atom:link href="https://example.com/tags/javascript/index.xml" rel="self" type="application/rss+xml"/><item><title>JWT Interceptor with Angular HttpClient</title><link>https://example.com/2017/jwt-angular-interceptor/</link><pubDate>Fri, 18 Aug 2017 11:15:58 -0400</pubDate><author>isaac@isaaclevin.com (Isaac Levin)</author><guid>https://example.com/2017/jwt-angular-interceptor/</guid><description>&lt;h2 id="httpclient-and-interceptors"&gt;HttpClient and Interceptors&lt;/h2&gt;
&lt;br /&gt;
&lt;p&gt;Last month, the Angular team released version 4.3 of their SPA Framework. One of the big additions in this release was the upgrade to the Http mechanism used by the framework, now called HttpClient. The process to make Http calls is different now, and by initial smell for the better. To adjulation from the community, the return of HttpInterceptors, a mechanism that sits between your application and your Api. What they do is capture the request and transform it to your liking and capture the response and transform it to your liking. Doing this in a uniform manner is helpful if you do something for all your Api calls.&lt;/p&gt;</description></item></channel></rss>