I'm trying to create nodes of a specific content type using Drupal REST API. I'm using jQuery FullCalendar and a custom form, and sending my informations via jQuery Ajax method.
I have enabled the correct permissions via REST UI module and users permissions to allow anonymous users to POST on this content type. No matter what the method ($.ajax, $.post, vanilla xmlHTTPRequest...) I always get a 403 (forbidden) error.
I've been following along with a couple of the online resources for theming in Drupal 8, and I've gotten as far as making a .info.yml and a .libraries.yml file. I've got the CSS working just fine on the test page I'm working with, but for some reason, none of the Javascript is getting onto the page. As far as I can tell, I've done everything I'm supposed to for it, and I haven't been able to find any online resources that help. Any ideas where I might have gone wrong?
I am trying to adapt the design of an adding content page (node / add / endpoint ) .
So I created a page that notes page - node - add - endpoint.tpl.php in my theme templates folder.
But how do you get the content add form to my template file ?
When i do a "var_dump($form)", it's answer "null", so i don't understand what happened and i don't find any solution to transmit my form value to the view....