Skip to content

Commit

Permalink
Updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
kaisero authored Apr 2, 2020
1 parent 2254ef0 commit 5e59399
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ net_obj = {
'value': '198.18.1.0/24',
}

response = client.create_object('networks', net_obj)
objects = client.create_object('networks', net_obj)
```

#### Get Network Object
Expand All @@ -92,9 +92,6 @@ obj_id = client.get_object_id_by_name('networks', 'NetObjViaAPI')
obj_payload = client.get_object('networks', obj_id)[0].json()
```

Note: FireREST always return a list of requests responses, even if a single item is retrieved. This
was an intentional decision to make handling of api responses consistent

#### Update Network Object

```python
Expand Down

0 comments on commit 5e59399

Please sign in to comment.