I want to get user name from SF over REST API. Is it possible to do with only one step when I have access token. As I saw from documentation and samples I have first to call something like this
https://na15.salesforce.com/services/data/v20.0/sobjects/User/ headers : Authorization: Bearer access_token
then I get user URL, something like this :
and finally when I invoke that link over REST API I will get username. Is it possible to do this with one step when I have access token ? It is not natural for me to make two calls for such information.