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
Field | Type | Required |
---|---|---|
bumdes_produk_id | String | ✔️ |
photo | JPG/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