shieldproject / shield

A standalone system that can perform backup and restore functions for a wide variety of pluggable data systems
MIT License
370 stars 69 forks source link

Adding --file flag for shield curl #723

Closed pururval closed 2 years ago

pururval commented 2 years ago

To use import endpoint, shield's curl's body input using stdin has issues with using escape characters. This improvement will enable the user to provide a filename from which the request body will be supplied.