Skip to content

Commit 1441a8a

Browse files
committed
Remove PUT & PATCH
1 parent 645a26f commit 1441a8a

File tree

4 files changed

+0
-20
lines changed

4 files changed

+0
-20
lines changed

pages/agents/update-an-agent.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,3 @@
1010
}
1111
r = requests.post('https://secure.tutorcruncher.com/api/agents/<id>/', json=data, headers=headers)
1212
pprint.pprint(r.json())
13-
14-
# or
15-
16-
r = requests.put('https://secure.tutorcruncher.com/api/agents/<id>/', json=data, headers=headers)
17-
pprint.pprint(r.json())

pages/clients/update-a-client.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,3 @@
1010
}
1111
r = requests.post('https://secure.tutorcruncher.com/api/clients/<id>/', json=data, headers=headers)
1212
pprint.pprint(r.json())
13-
14-
# or
15-
16-
r = requests.put('https://secure.tutorcruncher.com/api/clients/<id>/', json=data, headers=headers)
17-
pprint.pprint(r.json())

pages/contractors/update-a-contractor.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,3 @@
1010
}
1111
r = requests.post('https://secure.tutorcruncher.com/api/contractors/', json=data, headers=headers)
1212
pprint.pprint(r.json())
13-
14-
# or
15-
16-
r = requests.put('https://secure.tutorcruncher.com/api/contractors/<id>/', json=data, headers=headers)
17-
pprint.pprint(r.json())

pages/recipients/update-a-recipient.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,3 @@
1010
}
1111
r = requests.post('https://secure.tutorcruncher.com/api/recipients/', json=data, headers=headers)
1212
pprint.pprint(r.json())
13-
14-
# or
15-
16-
r = requests.put('https://secure.tutorcruncher.com/api/recipients/<id>/', json=data, headers=headers)
17-
pprint.pprint(r.json())

0 commit comments

Comments
 (0)