Skip to content

Returns all current baskets of the user.

GET
/api/user/current/baskets

Returns 200 and a list of baskets or 401 if not logged in.

Authorizations

Responses

Samples

cURL
curl -X GET http://localhost/api/user/current/baskets
JavaScript
fetch("http://localhost/api/user/current/baskets")
  .then(response => response.json())
  .then(data => console.log(data));
PHP
file_get_contents("http://localhost/api/user/current/baskets");
Python
import requests
response = requests.get("http://localhost/api/user/current/baskets")
print(response.json())