Jun 22, 2023
Good start ! Now you can think about a way to handle logged/unlogged requests. I mean, if you don't need token, you should not retrieve it.
Also, you can think about how to handle refresh token. Maybe looking around Client is a good start 🙂.
And what about if one request need to add something in the header ? How do you handle that ?
And by the way, I don't know how get it works, but it seems useless to lazy register an object (you already instantiate it) 😁