Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 482 Bytes

README.md

File metadata and controls

24 lines (16 loc) · 482 Bytes

KWS app auth plugin for httpie

Using command line arguments

https -A kws -u $appid:$appsecret https://kws.knd.com.cn/api/v4/manufacturers/

Using environment variables

export KWS_APP_ID=$appid
export KWS_APP_SECRET=$appsecret

https -A kws https://kws.knd.com.cn/api/v4/manufacturers/

Using configuration file

Download app auth file to $HOME/.kws-auth

https -A kws https://kws.knd.com.cn/api/v4/manufacturers/