Context.request call in update function

My understanding (from the forum posts here) is that I should call context.request inside plugins JS code (not standard fetch). However, I am getting the error TypeError: context.request is not a function. I’ve tried to find documentation on it or open source plugins that are using external APIs, but was not able to find any.
I suppose the other option would be to use Plugin API calls but haven’t managed to find any examples of how to use it in plugin elements.
please, help, thanks

You sound like you know what you’re doing, so why aren’t you sharing your code if you… you know… want help with your code?

Nobody can guess how it is that you’re generating that error. If you’re passing context to your update function as context then context.request() is def a thing.

1 Like