我正在嘗試使用Postman請求數據,而不是Web服務的API文檔提供的終端命令。如何將此curl請求轉變爲Postman請求
curl命令如下:
curl https://api.webservice.io \
-H 'Authorization:Bearer apikey1234567890' \
-H 'Accept: application/json'
我怎樣才能內郵差要求呢?我曾嘗試將Authorization:Bearer
和Accept
作爲請求參數,但這不起作用
也許這可以幫助https://stackoverflow.com/questions/40539609/how-to-add-authorization-header-in-postman-environment –