https://astp.tn:7081/evenement/autre/detail/45/register

Not an API Platform resource Resource class