-2
I made a Function a few days ago that saved several photos at once. It worked, but when I went to use this Function again, she was just getting the last amount I was sending. Example: I sent photo1, photo2, photo3. When I gave a dd in the variable that received $request->all(), only photo3 came. Does anyone have any idea how to fix this?
You can add HTML + code so you can better illustrate
– SylvioT
Try to add the source code of what is done so far
– Leandro Paiva
public Function saveImage(Request $request) { $image = $request->all(); $this->productService->saveImage($image); Return Response()->json('Image saved successfully!'); }
– Ana Alice