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
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -49,6 +49,7 @@ You can also **check out [a video introduction of a talk I gave at Devoxx France
49
49
-[setDefaultHeaders](#setdefaultheaders)
50
50
-[setRequestSuffix](#setrequestsuffix)
51
51
-[setUseCannonicalId](#setusecannonicalid)
52
+
-[setPlainByDefault](#setplainbydefault)
52
53
-[How to configure them globally](#how-to-configure-them-globally)
53
54
-[Configuring in the config](#configuring-in-the-config)
54
55
-[Configuring in the run](#configuring-in-the-run)
@@ -552,6 +553,10 @@ If all of your requests require to send some suffix to work, you can set it here
552
553
553
554
You can set this to either `true` or `false`. By default it's false. If set to true, then the cannonical ID from the element will be used for URL creation (in DELETE, PUT, POST, etc.). What this means is that if you change the ID of the element and then you do a put, if you set this to true, it'll use the "old" ID which was received from the server. If set to false, it'll use the new ID assigned to the element.
554
555
556
+
#### setPlainByDefault
557
+
558
+
You can set this to `true` or `false`. By default it's false. If set to true, data retrieved will be returned with no embed methods from restangular.
559
+
555
560
#### setEncodeIds
556
561
557
562
You can set here if you want to URL Encode IDs or not. By default, it's true.
0 commit comments