woob.tools.request
¶
- to_curl(request)[source]¶
Return a generated functional curl command based on a request.
- Parameters:
request (
PreparedRequest
|dict
) – The prepared request, or property dictionary, to transform into a curl command.- Return type:
- Returns:
The curl command, with UNIX newlines.