postman傳json串,以及postman官方文件
阿新 • • 發佈:2019-01-22
最近在除錯介面遇到一個問題。就是post介面傳的body是一個json串。
剛開始還不知道,百度了一下才知道,其實很簡單,就是在raw裡面選擇json。我的天如此簡單的內容,而且支援html。
於是讀了一下官方文件:
https://www.getpostman.com/docs/cloud_api
內容詳細,而且全面。絕對的有幫助。
包括內容:
- Managing Collections
- Sending Requests and Viewing Responses
- Sending Requests
- Understanding and working with responses
- Authentication helpers
- Requests History
- Using Tabs
- Using Interceptor to read and write cookies
- Capturing requests (Chrome App)
- Capturing requests (Native App)
- Handling redirects
- Sending requests to URLs with self signed SSLs
- Ignoring SSL warnings
- Extracting data from responses and chaining requests
- Making SOAP requests
- Creating cURL commands in Postman
- Importing cURL commands to Postman
- Working with JSON/XML
- Generating code snippets
- Working with cookies
- Working with client certificates
-
Managing Collections
- Getting started with Collections
- Consuming API documentation in Collection Browser
- Publish Documentation for your Collections
- Sharing Collections with your team
- Syncing collections with the Postman server
- Checking response payloads
- Validating JSON collections
- Importing RAML folders as Collections
- Importing Swagger files
- Variables and Environments
- Setting up an environment with variables
- Using data variables to run a collection multiple times
- Using environments to switch contexts
- Postman Pro for Teams
- Postman Pro
- Purchasing Pro
- Managing your Pro team
- Postman API
- Case study
- API Testing & Collection Runner
- Pre Request Scripts
- Writing Tests
- Testing Sandbox
- Testing examples
- Running a collection
- Running collections with file-post requests
- Workflows
- Newman - Running collections in the command line
- Running Newman inside Docker
- Integrating automated API tests with Jenkins
- Schedule runs in the Cloud
- Postman for Public APIs
- Create the Run in Postman button
- Using the Run in Postman button
- Updating collections in the Run button
- Environments in the Run button
- The Run Button API
- Partnership program
- Run button security
高階大氣上檔次,我個人覺得postman幾乎完美,如果可以引數化,覺得是個平凡工具,造就偉大的工程。