在 Ubuntu 上使用 Postman 发送请求,一般步骤如下(假设你已经安装好了 Postman):
如果你是通过官方包安装的:
postman
或通过应用菜单搜索 Postman 打开。
GETPOSTPUTDELETE 等https://jsonplaceholder.typicode.com/posts
POSThttps://jsonplaceholder.typicode.com/posts
rawJSON{
"title": "test",
"body": "hello",
"userId": 1
}
Key: Content-Type
Value: application/json
Bearer TokenBasic AuthAPI Keybase_url = https://api.example.com
{{base_url}}/users
尝试:
sudo apt install libnss3
一般不影响请求发送。
如果你愿意,可以告诉我:
我可以直接给你 具体示例。