anx-api
anx-api copied to clipboard
Detect and set useragent to null when running from browsers.
How about not setting UserAgent at all.. And just let the library/platform's user agent flow through?
So far it's been very useful for me in debugging anx-api issues in api logs. Axios sets the UserAgent if the user does not https://github.com/mzabriskie/axios/blob/master/lib/adapters/http.js#L29