🇮🇳India rituraj.gupta Pune
Hello,
This is my code:
* Represents Custom API records as resources.
*
* @RestResource (
* id = "custom_api",
* label = @Translation("Custom API"),
* uri_paths = {
* "canonical" = "/api/custom-api/{id}",
* "create" = "/api/custom-api"
* }
* )
and still I am getting 404 in postman while hitting this url using GET method: https://mtn-drupal.ddev.site:8443/api/custom-api/22?_format=json. Permission is given also.
🇮🇳India rituraj.gupta Pune
Did you get any solution?
✨ | JSON Web Token Authentication (JWT) | Get the token bearer with the JWT module after log in rest method
🇮🇳India rituraj.gupta Pune
HI @myavorsky,
How did you resolve this issue? Could you please explain in detail?
Thanks,
Ritu Raj