Hacker News new | ask | show | jobs
by donatj 4435 days ago
I can't seem to get basic auth working. I know basic is "bad" form, but we have APIs we still expose them selves via it and that would be very nice to support.

I tried both Authorization: Basic [hash] header as well as the even worse http://username:password@site.com/api and neither worked.

1 comments

donatj, I would expect that both of those would work, but I can check into adding this as a feature. A lot of times this is actually an issue with CORS. The API would need to add a CORS header for freeboard.io. Or if the API supports JSONP, you can overcome this without a CORS header.