今天就学习课程吧!
今天就开通帐号,24,700 门业界名师课程任您挑!
Testing POST calls
- [Instructor] POST calls give us a whole new set of testing challenges. We're now giving the API users the ability to create things in our service. And so we need to make sure that they cannot do so in a harmful way. There are two main ways that people can harm our app through bad POST calls. The first is malicious users. We'll talk about security testing your API later in the course. The second way though is users accidentally doing the wrong thing. For example, what happens if they send the data in the wrong format or try to overwrite data that's already in the system? The same heuristics of consistency and surprise that I talked about in testing GET requests apply here. With POST requests we also need to think carefully about the data inputs. In some ways, testing a POST call is similar to testing input fields in a graphical user interface. We need to think about things like the boundaries of the data, what data…
内容
-
-
-
-
-
-
(已锁定)
Testing GET calls3 分钟 42 秒
-
(已锁定)
Testing PUT calls3 分钟 25 秒
-
(已锁定)
Testing DELETE calls2 分钟 46 秒
-
(已锁定)
Challenge: Break the API1 分钟 43 秒
-
(已锁定)
Solution: Break the API2 分钟 31 秒
-
(已锁定)
Understanding POST calls3 分钟 55 秒
-
(已锁定)
Testing POST calls4 分钟 27 秒
-
(已锁定)
Challenge: Access protected endpoints1 分钟 32 秒
-
(已锁定)
Solution: Access protected endpoints2 分钟 36 秒
-
(已锁定)
-
-