Curl graphql query to insert with html character

Curl graphql query to insert with html character


0

I need insert in Shopify from CURL with graphql a html traslation but not accept "<" character I try with < < but nothing..

{"query": "mutation CreateTranslation($id: ID!, $translations: [TranslationInput!]!) { translationsRegister(resourceId: $id, translations: $translations) { userErrors {message field} translations {key value locale} } }","variables": {"id": "gid://shopify/Product/myid","translations": [{"key": "body_html","value": "<p>La Camicia da Uomo in Cotone con Colletto Francese in Blu Chiaro, tailor fit. Questa camicia è più di un semplice capo d'abbigliamento; è una dichiarazione di gusto raffinato, progettata per elevare il tuo stile in una varietà di occasioni.</p><ul>....</li></ul>","locale": "it","translatableContentDigest": "73f987270db7311a720b001d6155d8f008db796b7341d1c59177a6c02ab129c2"}]}}

if I remove "<" and ">" is all ok but I lost the html code..

tnx


Load 7 more related questions


Show fewer related questions

0



Leave a Reply

Your email address will not be published. Required fields are marked *