From 5e5939920f49821c6e5d9b5ff73604006f15a3a7 Mon Sep 17 00:00:00 2001 From: Oliver Kaiser Date: Thu, 2 Apr 2020 17:59:37 +0200 Subject: [PATCH] Updated README --- README.md | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/README.md b/README.md index fcf74e8..4218f60 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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