Размещение переменной PHP в скрипте bash
Я подключился к API с помощью bash-скрипта следующим образом: #!/bin/bash curl “https://example.com/templates/search?field=template_id& field=name” \ -H “Authorization: Bearer —————————————————————-” curl -X POST “https://example.com/audits” \ -d ‘{ “template_id”: “template_28c5b7ec77f34ea7881b6a9ef9c01b91”, “header_items”: [ { “item_id”: “f3245d40-ea77-11e1-aff1-0800200c9a66”, “label”: “Audit Title”, “type”: “textsingle”, “responses”: { “text”: “${title}” } }, { “item_id”: “f3245d43-ea77-11e1-aff1-0800200c9a66”, “label”: “Conducted By”, “type”: “textsingle”, “responses”: { “text”: “John […]