Before each request to the DocuSign REST API, I make a call to https://demo.docusign.net/restapi/v2/login_information
. But the only information I need from that response is the first baseUrl
attribute, which never seems to change. If it truly never changes, I should just store the value as a constant, cutting my number of requests in half.
How often (or under what circumstances) does the baseUrl
change, assuming my integration key is constant? More importantly, how infrequently can I safely cache the baseUrl
?
Since it is a third-party API outside your control, I would recommend that you follow the requirements of the documentation, and make the call each time. There's no telling when they might change the internals of the API.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With