title: How to pass date in angular 8 GET request
body: <p>I want to pass date in angular 8 $http Get request. Please suggest me that what is the correct way to pass date.</p>
  <p>i want to do something like this</p>
  <pre class="lang-js prettyprint-override"><code>public getCalendarData(Date): any {
          let myResponse = this.http.get(`${environment.BASE_URL}/getCalendarData` + '/' + new Date().toUTCString(), {
              headers: new HttpHeaders().set('SESSION-TOKEN', localStorage.getItem('jwt_token'))
          });
          console.log(myResponse);
          return myResponse;
      }
  </code></pre>
  <p>I have to integrate this API https://api/getCalendarData/20-10-2020 with angular but I don't know how to pass date in angular 8 $http Get request,</p>