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

fetchSync certificate verification and script environment variable issues #127

Closed
mofazhe opened this issue Apr 28, 2024 · 3 comments
Closed

Comments

@mofazhe
Copy link
Contributor

mofazhe commented Apr 28, 2024

  1. How to disable https certificate verification for fetchSync in a script.
    image
    image
  2. Can't use environment variables in script.
    image
@flawiddsouza
Copy link
Owner

Hi, you can use this method to get an env var in a script:
image
Source: https://docs.restfox.dev/plugins/available-methods.html

It seems I haven't implemented the disable ssl flag for the http request that runs within a plugin. I'll fix that soon and let you know.

@flawiddsouza
Copy link
Owner

fetchSync now respects the disable ssl flag. It's available in the new version: https://github.com/flawiddsouza/Restfox/releases/tag/v0.13.0. Let me know if it works fine.

@mofazhe
Copy link
Contributor Author

mofazhe commented May 7, 2024

It's working fine. Thank you.

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

2 participants