Sencha Touch: Accessing a remote API that is under Basic Authentication

Posted on under Coding & Tech, Tutorials 2 Comments

ST makes it pretty straightforward to access webservices or APIs through its various data proxies and Ext.Ajax. But consuming an API protected under basic authentication can be tricky. Both data proxies and Ext.Ajax provide setUsername() and setPassword() methods, and they work fine on most browsers. But in my experience using these methods, I had big […]