closeio / closeio-api

Python API Client for Close
http://developer.close.com/
MIT License
65 stars 47 forks source link

Slow redirect #107

Closed Gdewilde closed 3 years ago

Gdewilde commented 3 years ago

When integrating with the Close API, we need to include a forward slash at the end of every API call to avoid an unnecessary (+200ms) redirect. Is this correct?

Also listed at https://apitracker.io/a/closeio

philfreo commented 3 years ago

Yes, a trailing slash should be used on our REST endpoints as shown on https://developer.close.com/

This Python library takes care of that for you though, as you can see in the README example (due to code like this)

Gdewilde commented 3 years ago

Thanks for the fast reply! This is indeed not applicable when using the Python SDK. It was more for developers not using the SDKs like us.