- Hands-On Server-Side Web Development with Swift
- Angus Yeung
- 103字
- 2021-06-10 19:00:24
Debugging using Postman
One of such tools is Postman which you'll find very handy for all of your server-side Swift projects. You can download the tool at https://www.getpostman.com/.
The following screenshot shows you how to use Postman to analyze the HTTP response of a request using HTTP GET and the parameter localhost:8080/student/Ryan:
Run your helloWorld application for either Vapor or Kitura in the background. A response is available at the bottom after clicking on the Send button to send out the HTTP request you've created. You can check the headers as well as the body of the HTTP response from the server application.