今天就学习课程吧!
今天就开通帐号,24,700 门业界名师课程任您挑!
Understanding POST calls
- [Presenter] Before we get into the details of testing POST calls, I want to show you how they work. As you know, POST calls are usually used to create new resources on the server. When doing this, we need to tell the server information about what we want to create. This information is usually passed in through the body of the request, but there's a few different ways that we can set up the body of the request. So let's take a look at a couple of them. I'll use the Postman Echo API for this example. It doesn't actually create new resources, but rather, it just echoes back what you sent, so you can get a better understanding of how things work. And on the body tab here, you can see there's a number of different options for body types. There's this form data, the Form URL and coded, binary and raw. These two are very similar. Binary is usually used to upload files. And then this raw option gives us a couple of…
内容
-
-
-
-
-
-
(已锁定)
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 秒
-
(已锁定)
-
-