Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

configuration proxy #348

Open
khiari opened this issue Feb 8, 2023 · 0 comments
Open

configuration proxy #348

khiari opened this issue Feb 8, 2023 · 0 comments

Comments

@khiari
Copy link

khiari commented Feb 8, 2023

Bonjour,

J'ai un proxy installé sur ma machine.
Les appels vers mangopay ne passent pas. J'ai cette erreur:

Screenshot 2023-02-07 at 17 43 13

J'ai fait un appel api avec axios et ça marche si je passe la config proxy

const legalUser = await axios.get(https://api.sandbox.mangopay.com/v2.01/clientID/users/${legalUserID},{ proxy: {
protocol: 'https',
host: 'host',
port: port},
headers})

pourriez-vous me dire comment faire pour configurer le sdk pour passer par le proxy ?

j'utilise la version 1.30.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant