Hello i am trying to get the base64 image's code from the api using this endpoints
Enpoint 1
"/rest/default/V1/products/" + sku + "/media"
Result
[{"id":1,"media_type":"image","label":"Image","position":1,"disabled":false,"types":["image","small_image","thumbnail"],"file":"\/m\/b\/mb01-blue-0.jpg"}]
Endpint2
"/rest/default/V1/products/" + sku + "/media/" + 1
Result
{"id":1,"media_type":"image","label":"Image","position":1,"disabled":false,"types":["image","small_image","thumbnail"],"file":"\/m\/b\/mb01-blue-0.jpg"}
I added de 1 as id in the second endpoint i used but i get the same answer