Skip to content

Commit 7db98fe

Browse files
committed
Update README.md
1 parent ee43644 commit 7db98fe

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

README.md

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -43,17 +43,19 @@ PHP Client to Access Agile Functionality
4343
###### 1.1 To create a contact
4444

4545
```php
46-
$contact_json = '{
47-
"email" : "[email protected]",
48-
"first_name" : "test",
49-
"last_name" : "contact",
50-
"tags" : "tag1, tag2",
51-
"company": "abc corp",
52-
"title": "lead",
53-
"phone": "+1-541-754-3010",
54-
"website": "http://www.example.com",
55-
"address": "{\"city\":\"new delhi\", \"state\":\"delhi\",\"country\":\"india\"}"
56-
}';
46+
$contact_json =
47+
48+
'{
49+
"email" : "[email protected]",
50+
"first_name" : "test",
51+
"last_name" : "contact",
52+
"tags" : "tag1, tag2",
53+
"company": "abc corp",
54+
"title": "lead",
55+
"phone": "+1-541-754-3010",
56+
"website": "http://www.example.com",
57+
"address": "{\"city\":\"new delhi\", \"state\":\"delhi\",\"country\":\"india\"}"
58+
}';
5759

5860
curlWrap("contact", $contact_json, "POST");
5961
```

0 commit comments

Comments
 (0)