Hello, i’m creating a sample project for the Rest API service, and can’t move through the first step of the 7.1 REST API manual. i decided to take a screenshot for you.
Hi, it should work.
Try to create a new project with the REST API addon again. If the problem still persists there, check the log for errors and then attach the project here.
the project i show on a screenshot is an empty sample project. i can attach it here restsample.zip (303.5 KB)
i may be missing something important, but i can’t see what…
I don’t know what went wrong when you created the project, but if modifying the web.xml won’t help, then, as I already adviced you, try to create a new project from scratch using the latest bugfix releases of platform and restapi addon.
probably that happened, cos i added plugin not by clicking-studio-menus, but by adding a dependency manually to build.gradle. anyhow, i added a param value and now api responds, it says: "error":"server_error","error_description":"Internal Server Error" and catalina.out has a warn message: Handling error: IlleagalArgumentException, Service sample-core/restapi_ServerTokenStore is not regigtered in LocalServiceDirectory
i still blame the manual plugin installation, but infortunately i can’t use online addon installation, cos i’m inside a close corporate network( and yes, as i said - it’s still a completely-brand-new-sample-project-made-to-test-rest-api)))