New release GrandNode 2.0 - 2.3.0 is out now! Get the newest version from downloads page! Download GrandNode 2.0 CLOSE

How to implement HttpClient in plugin

Tuesday, April 15, 2025 4:37:58 PM
  • Posted: Thursday, June 18, 2020 8:42 PM
  • 14
Hi.

How can I implement HTTPClient on the platform. Because when injecting the dependency in a custom plugin I get the error:
"Plugin has not been registered getRequiredService - dependency - {PluginType.FullName}"
0
  • Posted: Friday, June 19, 2020 5:25 AM
  • 953
Hi Steven,

Look at this chapter of docs: https://docs.grandnode.com/how-to-override-service-by-plugin. In the last part of the article, you can find info about the DependencyRegistrar. I suppose it should solve the problem.
Best regards,
Patryk

GrandNode Team
0
back to top