Produto - Enviar Foto por Base64 encode
POST
{{proto}}://{{domain}}/api/produto/9707/fotos/
Body
PARAM
Key |
Datatype |
Required |
Description |
HEADERS
Key |
Datatype |
Required |
Description |
Content-Type
|
string |
|
|
Authorization
|
string |
|
|
Accept
|
string |
|
|
RESPONSES
status
curl -X POST 'undefined://undefined/api/produto/9707/fotos/' -H 'Content-Type: multipart/form-data' -H 'Authorization: undefined' -H 'Accept: undefined' -F '{"name"=>"description", "value"=>"Teste Descrição", "datatype"=>"string"}=' -F '{"name"=>"photo_filename", "value"=>"imagem_teste.png", "datatype"=>"string"}=' -F '{"name"=>"photo_data", "value"=>"iVBORw0KGgoAAAANSUhEUgAABAAAAAQABAMAAACNMzawAAAAG1BMVEXMzMyWlpacnJyqqqrFxcWxsbGjo6O3t7e+vr6He3KoAAAACXBIWXMAAA7EAAAOxAGVKw4bAAANd0lEQVR4nO3dTXPbVpYGYJAiRS4F2Ym9JNPpxEtrprsrSzFxZWYpeZGapZROTXopeaq8ltLd/3t48UFcfJIm5PG48zxVsSSC4FF4XlxcgCCVJAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA8Du3TNOzxk3//Dn95rvm/f7jL1+dt28NNu1HGFF8+dP6/K8PBxefpWl6ZHEy81YP3qXBt/Ub32c3ps8e2o9we3wA2sUX61Dm/O7Q4qcCMNJpswc/5s92+nV842/Fjemzy+YDLNLjA9AqPrvNy5zHZQaKJ/cCMNKk0YN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