Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
I followed the REST tutorial and then the instructions on how to make POST available ("create" option) but it does not work. The POST route is not recognized.
When creating a PHPUnit functional test on this route `/support_ticket/add/ticket` the "AssertionError: assert(!str_starts_with($data_type, 'entity:')" error occurs. I can't seem to find any information about what it means. When testing the same route in a browser a http 200 response is returned and the page renders correctly.
The questions I am searching information for are mentioned below. Any direction would be gratefully received.