Example of success request

If everything is fine and there’s a proper admin BE session

Request:

curl --location --request GET 'https://demo.ddev.site/api/demo/photos/1' \
    --header 'Content-Type: application/json' \
    --header 'Accept: application/json' \
    --header 'Cookie: fe_typo_user=53574eb0bafe1c0a4d8a2cfc0cf726dd; be_typo_user=12574eb0bafe1c0a4d8a2cfc0cf726zz \
    --header 'X-CSRF-TOKEN: 53574eb0bafe1c0a4d8a2cfc0cf726dd'

Response:

{
    "uid": 1,
    "pid": 0,
    "url": "https://via.placeholder.com/150/000000/FFFFFF/"
}