Some APIs have a URL with no trailing slash (e.g., https://api.openai.com/v1/chat/completions). When the client is referenced the trailing slash is added, which results in a 404 in the case of OpenAI.
Steps to reproduce
Add generic Credential client
Add a URL without a trailing slash
Reference the client in a 'consume.fetchData' call
Describe the bug
Some APIs have a URL with no trailing slash (e.g., https://api.openai.com/v1/chat/completions). When the client is referenced the trailing slash is added, which results in a 404 in the case of OpenAI.
Steps to reproduce
Craft CMS version
4.5.11.1
Plugin version
1.0.4
Multi-site?
No response
Additional context
No response