json - Create an asset in Pimcore through web service -
i new pimcore, going api see if meet requirements. add assets pimcore through it's web service api. have found should possible (link), don't see how since not documented. possible provide me example on how upload image asset pimcore through web service api?
thanks!
here's example url:
http://website-domain.dev/webservice/rest/asset?apikey=your_api_key
and there's example post data:
{"data":"<<base 64 encoded file>>","parentid":1,"type":"image","filename":"image.jpg","path":"\/","mimetype":"image\/jpeg","userowner":"2","properties":null,"metadata":[]}
Comments
Post a Comment