Can we get the option to wget json with an html header? Currently it seems the only way to pull from an API that requires auth through a header is with tasker. It would be awesome if we could have a parameter for a header.
I just posted a solution for that:
Although it is a good contribution, I must say that this is not a solution, but a workaround.
I just want to add to this, it would be incredibly useful to get more control with the wg function.
Not only for sending additional information (authentication, custom user agent, etc.) but also for troubleshooting (getting HTTP response codes etc.). Currently if a request doesn't return anything, you're essentially clueless until manually checking in a browser.