Skip to content

Commit 3b2b43b

Browse files
committed
simple formatting
1 parent 0eb24f8 commit 3b2b43b

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

README.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,13 @@ Set Authorization if any required. Build parameters and POST a node. Here if you
5151
[manager.sessionManager.requestSerializer setValue:@"your base 64 basic auth string " forHTTPHeaderField:@"Authorization"];
5252
5353
54-
NSDictionary *parameters= @{@"uid":@[@{@"target_id":@"1"} ],@"field_tag":@[@{@"target_id":@"1"}],@"body":@[@{@"value":@"This is text",@"format":@"full_html"}],@"title":@[@{@"value":@"Tip Via Drupal 8 iOS sdk"}]};
54+
NSDictionary *parameters= @{
55+
@"uid":@[@{@"target_id":@"1"} ],
56+
@"field_tag":@[@{@"target_id":@"1"}],
57+
@"body":@[@{@"value":@"This is text",
58+
@"format":@"full_html"}],
59+
@"title":@[@{@"value":@"Tip Via Drupal 8 iOS sdk"}]
60+
};
5561
5662
5763
[manager POSTNode:self.baseURL
@@ -74,8 +80,9 @@ Same as POST on node.
7480

7581
NSDictionary *parameters= @{@"uid":@[@{@"target_id":@"1"} ],
7682
@"field_tag":@[@{@"target_id":@"2"}],
77-
@"body":@[@{@"value":@" Hey I have updated this node via drupal 8 ios kit ",@"format":@"full_html"}]
78-
,@"title":@[@{@"value":@"Tip Via Drupal 8 iOS sdk"}]
83+
@"body":@[@{@"value":@" Hey I have updated this node via drupal 8 ios kit ",
84+
@"format":@"full_html"}],
85+
@"title":@[@{@"value":@"Tip Via Drupal 8 iOS sdk"}]
7986
};
8087

8188

0 commit comments

Comments
 (0)