Fixed runtime decoding error occurring due to 403 responses from gh api because of missing user-agent header
fixes #662
Feel free to close if you still prefer to use reqwest::get for the example but with a different api that doesn't require user-agent-header. I'm currently unaware of how to pass headers along with reqwest::get and thus used a reqwest client in the fix
Fixed runtime decoding error occurring due to 403 responses from
gh api
because of missing user-agent headerfixes #662
Feel free to close if you still prefer to use
reqwest::get
for the example but with a different api that doesn't requireuser-agent-header
. I'm currently unaware of how to pass headers along withreqwest::get
and thus used areqwest client
in the fix