I am trying to update a few fields in a collection based on user selection.
I was able to fetch the data using “request” util from strapi-plugin-helper.
However, I have not been able to find anything to “post” or “put” in the strapi-plugin-helper.
Is there such a utility or some other way?
Or I just have to use axios?
I would recommend using axios or graphql to make get/post/put requests from a frontend perspective.
No need to try over complicate a simple task such as populating your content
It’s not the frontend application. It’s the Strapi admin frontend.
So i figured out that “request” is just a wrapper over fetch API, so we can do a PUT or POST by supplying options.
However now I am getting - Method Not Allowed (Error 405)
I have checked the permissions and roles, I have granted all the permissions.