Twisting error: arguments without arguments found

I am trying to import this example into a postman

curl -s --user 'api:YOUR_API_KEY' \
    https://api.mailgun.net/v3/YOUR_DOMAIN_NAME/messages \
    -F from='Excited User <mailgun@YOUR_DOMAIN_NAME>' \
    -F to=YOU@YOUR_DOMAIN_NAME \
    -F to=bar@example.com \
    -F subject='Hello' \
    -F text='Testing some Mailgun awesomness!'

Please help me understand -s, --user, -F, what is this? And then, when I try to import, I get this error: arguments without arguments were found. How can i fix this?

+4
source share
1 answer

If you are trying to execute curl commands in Postman, select Import , then Paste the source , and then copy the command, but remove all backslashes first.

+6
source

Source: https://habr.com/ru/post/1666941/


All Articles