Indi
Nic Lin's Blog blog.niclin.tw

一個很有趣的 trick 如果我要傳 Basic Auth 給 server 的話,需要把 user/password 加到 authorization 上。 以 postman 來說是這樣 但在這個情況下不要直接用 RestClient.get post/ put # 這樣做是「無效」的: RestClient.get url, user: 'username', password: 'secr…

讨论

还没有评论,来说第一句吧。

Nic Lin's Blog 的其他文章