Refactor PrestashopProxyController to simplify image upload API path
This commit is contained in:
@@ -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
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user