title: Getting response with status: 405. Method not allowed for URL with POST in Firebase
body: <p>I am trying to POST some data to my Firebase database with REST API. However, I keep getting the error: <code>response with status: 405. Method not allowed for URL: https://myurl.firebaseio.com/data</code></p>
  
  <p>This is how I use the POST request:</p>
  
  <pre><code>createNewRoute(route){
          var url;
          var data = {
                      RouteStartAddress: route.startAddress,
                      RouteEndAddress : route.endAddress,
                      RouteStartCord: route.startCord,
                      RouteEndCord: route.endCord,
                      DepatureDateTime: route.depatureDateTime,
                      Seats: route.seats,
                      Note: route.note,
                      IsActive: true,
                      DriverSId: route.userId,
                      TimeToDist: route.timeToDist,
                      MetersToDist: route.metersToDist
  
          };
          url = this.routeUrl;
          var response = this.http.post(url, data).map(res =&gt; res.json());
          return response;
      }
  </code></pre>