• testtarou
  • NEWBIE
  • 0 Points
  • Member since 2012

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 1
    Replies

I want to get current user's info with REST API.

 

However,I can not find it in Salesforce's document for REST API

Ideal -> 'https://na12.salesforce.com/services/data/v24.0/user/me'

In addition,if you know a structure for REST API or its document,Please tell me it.

 

I want to use a profile image with REST API and proxy.php.

However,a JSON returened by REST API doesn't have a profile image url on API's domain.
It has the url on "xxx.salesforce.com" domain.
Therefore,to use REST API and the picture ,it needs to login twice(rest api and force.com)
I don't want to force my user to login twice.
Please tell me solution for this problem.

 

I want to use a profile image with REST API and proxy.php.

However,a JSON returened by REST API doesn't have a profile image url on API's domain.
It has the url on "xxx.salesforce.com" domain.
Therefore,to use REST API and the picture ,it needs to login twice(rest api and force.com)
I don't want to force my user to login twice.
Please tell me solution for this problem.