Skip to content

Commit

Permalink
Merge pull request #126 from gmi-joelbondurant/master
Browse files Browse the repository at this point in the history
Update how to get the last http status code in README to reflect prior code changes.
  • Loading branch information
rveachkc committed Jun 10, 2022
2 parents 342f792 + e4c440d commit 86d8efc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ myTeamsMessage = pymsteams.connectorcard("<Microsoft Webhook URL>")
myTeamsMessage.text("this is my text")
myTeamsMessage.send()

last_status_code = myTeamsMessage.last_http_status.status_code
last_status_code = myTeamsMessage.last_http_response.status_code
```

More info on the Response Content is available in the requests documentation, [link](https://2.python-requests.org/en/master/user/quickstart/#response-content).
Expand Down

0 comments on commit 86d8efc

Please sign in to comment.