Adyen / adyen-openapi

OpenAPI specification for the Adyen APIs
MIT License
67 stars 49 forks source link

Adds right curl flag in example #1

Closed rzetterberg closed 6 years ago

rzetterberg commented 6 years ago

I was trying out the API using curl, but couldn't get it to work. Then I looked at the man pages for curl and saw that -U is the wrong flag to use.

The curl flag -U is used for:

Specify the user name and password to use for proxy authentication.

This curl flag -u is used for:

Specify the user name and password to use for server authentication.

This change adds the correct curl flag for using basic authentication.

a-akimov commented 6 years ago

Thank you for your contribution, Richard!