Encoding URLs in APIs: Avoid Broken Requests