Get Profile
Get the current user’s profile from the session, if no profile is set an empty one will be created. Only use it in conjunction with Studio’s Personas.
Resource Information
This service uses the tomcat application on port 8080 by default. To see a list of default ports click here
The context for this API is /
.
HTTP Verb
|
GET
|
URL
|
/api/1/profile/get |
Response Formats
|
JSON |
Example
Request
GET .../api/1/profile/get
Response
Status 200 OK
{
"age": "30",
"username": "john",
"lastname": "doe"
}
Responses
Status
|
Location
|
Response Body
|
---|---|---|
200
|
See example above.
|
|
500
|
{ "message" : "Internal server error" } |