GET /drivers/{id}/picture
Retrieves the driver's profile picture, if it exists.
Roles that can access this endpoint are Users, Drivers.
Parameters
name |
description |
type |
default |
type |
id |
the driver ID |
path
|
|
String
|
Result
Response
of type:
application/pdf
image/jpeg
image/gif
image/tiff
image/png
image/bmp
application/octet-stream
a response object with the picture as a byte[] in the body
Try It Out
Request