Refactor PrestashopProxyController to simplify image upload API path

This commit is contained in:
Vincent Guillet
2025-12-03 13:43:29 +01:00
parent 68ccb164e2
commit f317d15ac5

View File

@@ -124,7 +124,7 @@ public class PrestashopProxyController {
* Backend → (bytes) → https://shop.gameovergne.fr/api/images/products/{productId}
*/
@PostMapping(
path = "/api/ps/images/products/{productId}",
path = "/images/products/{productId}",
consumes = MediaType.MULTIPART_FORM_DATA_VALUE,
produces = MediaType.APPLICATION_XML_VALUE
)