Hi all,
I am trying to convert the zeppelin-web application from Angular to Aurelia. 
When I am executing the following code  to get the interpreter binding I am 
getting error 405 method not allowed. Same error again in postman. I am able to 
hit the login api.

let url = BaseUrl.getRestApiBase() + '/notebook/interpreter/bind/' + 
this.note.id;
    this.http.fetch(url, {
        method: 'GET',
         headers: {
          'Content-Type': 'application/x-www-form-urlencoded'
        }
      })
      .then(response => response.json())
      .then(data => {
        console.log('Data === ', data);      //Empty
        if((data || {}).status === 'OK') {
          this.interpreterBindings = data.body;
        } else {
           console.log('Error %o %o', (data || {}).status, (data || 
{}).message);
        }
      });

Thanks & Regards,
Vikash Kumar



Reply via email to