You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+4-3
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,7 @@ Check **test/index.html** for Drupal 8 example and **indexd7.html** for Drupal
29
29
30
30
Before to test in Drupal 8 be sure the REST Resource Content for methods Get, Post, Update , Delete and Patch has json as format and Basic Auth as Authentication method.
31
31
32
-
You can the contributed module [Rest UI](https://www.drupal.org/project/restui) I recommend use the git version until Drupal 8 get his first official release.
32
+
You can do this with the contributed module [Rest UI](https://www.drupal.org/project/restui) I recommend use the git version until Drupal 8 get his first official release.
33
33
34
34
Your configuration must look similar to following image.
35
35
@@ -53,8 +53,9 @@ Your configuration must look similar to following image.
53
53
$(function() {
54
54
// Set API Information
55
55
Backbone.Drupal.restEndpoint = {
56
-
root: 'http://onthisday/api',
57
-
dataType: '.json'
56
+
root: 'http://example.com', // Set Drupal Backend Server URL
57
+
version: 8
58
+
//dataType: '.json', // Only required in Drupal 7
58
59
};
59
60
60
61
// Define auth object, set crossDomain if is necessary
0 commit comments