What's the most useful curl flag you use regularly? or How do you properly use the -L curl flag for r

18 Replies, 1460 Views

Here’s a weird one: -O can fail if the server doesn’t send a filename (like some APIs). -o always works ‘cause you force it.

Also, -J (uppercase!) pairs with -O to respect the server’s suggested filename. But that’s next-level curl flag stuff.

Messages In This Thread



Users browsing this thread: 1 Guest(s)