Returns the bananas given by a user
GET
/api/user/{senderId}/banana/sentAuthorizations
Parameters
Path Parameters
senderId*
Typestring
RequiredResponses
Success.
JSON
[
{
"message": "string",
"user": null,
"time": "string"
}
]
Samples
cURL
curl -X GET http://localhost/api/user/{senderId}/banana/sent
JavaScript
fetch("http://localhost/api/user/{senderId}/banana/sent")
.then(response => response.json())
.then(data => console.log(data));
PHP
file_get_contents("http://localhost/api/user/{senderId}/banana/sent");
Python
import requests
response = requests.get("http://localhost/api/user/{senderId}/banana/sent")
print(response.json())