I am using the JSON:API module.
I need to create vocabularies and terms through the endpoint, but it is only accepting GET
requests.
Am I using the wrong route or endpoint?
I am using the JSON:API module.
I need to create vocabularies and terms through the endpoint, but it is only accepting GET
requests.
Am I using the wrong route or endpoint?
JSON:API uses the entity machine names by default. (You can change the names with the JSON:API Extras module.)
If you don't know the machine name, you can install the JSON:API Explorer module, which will provide you with a nice UI at http://www.example.com/jsonapi/explorer/app
. Just install the module and visit the URL for your site and you will be able to check everything that is available by JSON:API.
/admin/config/services/jsonapi
.
Commented
Sep 8, 2022 at 8:24