You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have just tested the new genius feature to convert cURL call to Laravel HTTP request and faced with the issue, the "-c" option does not exist.
This is the cookie file handling feature of the cURL function.
This option is not currently converted. It also doesn't appear Laravel's Http client directly supports it.
However, I am sure the underlying Guzzle client does. So I'll take a look in the coming week. In the meantime, you could drop this option and convert the curl command. Then add the cookie part after.
The only way I know at the moment to easily put cookies from an external source (without having to iterate over them and create them manually) into the Http client is by:
I have just tested the new genius feature to convert cURL call to Laravel HTTP request and faced with the issue, the "-c" option does not exist.
This is the cookie file handling feature of the cURL function.
Example cURL call:
curl -v -F action-xmlagentxmlfile=@agent.xml -c ./cookies.txt -o response.pdf https://www.szamlazz.hu/szamla/
Reference:
https://docs.szamlazz.hu/#post-request
The text was updated successfully, but these errors were encountered: