In #80 there was an unexpected 404 when using the full URL to expand a bitlink. While the API documentation shows that you should only use the domain and the short link as part of the request, a library like this can help out. This PR adds a utility function that can be used to strip a leading http or https protocol from the front of a provided bitlink, ensuring that API calls succeed.
In #80 there was an unexpected 404 when using the full URL to expand a bitlink. While the API documentation shows that you should only use the domain and the short link as part of the request, a library like this can help out. This PR adds a utility function that can be used to strip a leading http or https protocol from the front of a provided bitlink, ensuring that API calls succeed.
Fixes #80