• Hello, I've been trying to implement a simple app to access some data behind authorization and update it.

    I managed to get a simple HTTP request to work, but as soon as i add the Authorization header, I only get an UnsupportedOperationException back from GadgedBridge.

    Maybe this is a bug in the app?
    I attached my code with the url and token substituted:

    Bangle.http("https://example.com/ID", {timeout: 5000, headers:{
    Authorization: "TOKEN"}}).then(data=>{
      // Do stuff
    }).catch(err=>{
      E.showMessage(err);
    });
    

    P.S. I noticed in the code for the app that there's no case to handle a PATCH http request. That might still be missing as well.

About

Avatar for ReiScarlett @ReiScarlett started