curl - How to escape < in parameter value
问题 Here is the curl command I'm executing curl -F "context=<http://example.com>" \ -F "Content-Type=text/plain" \ -F "source=file" \ -F "content=@members.nt;type=text/plain" \ http://localhost:8080/openrdf-workbench/repositories/XXX/add I'm trying to load openrdf repository. It gives me an error because there is a "<" character at in the value of "context" parameter. How to escape this "<" so curl does not think that I'm trying to load file content into "context" parameter The error from curl is