Create Photo Produk Bumdes

To create the data in the specified collection with the specified parameters. When a JSON object is saved, the object properties are automatically added to the collection you specified.

Method : POST

URL : /bumdes/produk/(ID)/photo

Body : Form Data

FieldTypeRequired
bumdes_produk_idString✔️
photoJPG/PNG✔️

Response : 200 OK

{
"status": 201,
"message": "success add photo produk bumdes"
}

Response : 422 UNPROCESSABLE CONTENT

{
"error": {
"bumdes_produk_id": ["The bumdes produk id field is required."]
}
}

Response : 500 ERROR

Internal Server Error