I’m a bit confused about refreshing session tokens. To refresh an admin’s token I am performing a PUT to https://hostname.com/api/v2/system/admin/session. I have attempted to do this both by adding “?session_token=mytoken” and by passing the “X-DreamFactory-Session-Token” header.
Both methods result in a 401 error telling me that my session token has expired and that I need to refresh it.
For now, I am getting around this by just re-logging in, but it would be nice to be able to refresh tokens. Any suggestions?