Run a HTTL file
To run a HTTL file, use the following command:
httl < file >Where:
file- the path to the HTTL file
Alternatively, you can use input redirection
httl < file_pathOr even heredoc syntax
httl <<EOF
@base: https://httl.dev/api
@auth-basic: admin admin
post /auth
EOFLast updated on