当前位置:网站首页>Basic authorization command for Curl
Basic authorization command for Curl
2022-07-05 03:03:00 【fyin1314】
problem :
How do I set up the basic authorization using 64 encoded credentials ? How to use 64 Bit encoded credentials set basic authorization ?I tried below the two commands but of no use , please suggest. I tried the following two commands, but they didn't work , Please make suggestions .
curl -i -H 'Accept:application/json' Authorization:Basic <username:password> http://example.comcurl -i -H 'Accept:application/json' Authorization:Basic.base64_encode(username:password) http://example.com
Solution :
Reference resources : https://stackoom.com/en/question/1PHtj边栏推荐
- Linux安装Redis
- FBO and RBO disappeared in webgpu
- This + closure + scope interview question
- LeetCode --- 1071. Great common divisor of strings problem solving Report
- Simple use of devtools
- The phenomenology of crypto world: Pioneer entropy
- Character painting, I use characters to draw a Bing Dwen Dwen
- tuple and point
- Why are there fewer and fewer good products produced by big Internet companies such as Tencent and Alibaba?
- [Yu Yue education] National Open University autumn 2018 8109-22t (1) monetary and banking reference questions
猜你喜欢
Jd.com 2: how to prevent oversold in the deduction process of commodity inventory?
Vb+access hotel service management system
Design of kindergarten real-time monitoring and control system
【LeetCode】106. Construct binary tree from middle order and post order traversal sequence (wrong question 2)
Pat class a 1160 forever (class B 1104 forever)
Accuracy problem and solution of BigDecimal
Mongodb common commands
Anchor free series network yolox source code line by line explanation Part 2 (a total of 10, ensure to explain line by line, after reading, you can change the network at will, not just as a participan
Azkaban安装部署
Privatization lightweight continuous integration deployment scheme -- 01 environment configuration (Part 1)
随机推荐
GFS distributed file system
Hmi-32- [motion mode] add light panel and basic information column
Single box check box
1. Five layer network model
Anchor free series network yolox source code line by line explanation four (a total of ten, ensure line by line explanation, after reading, you can change the network at will, not just as a participan
Why is this an undefined behavior- Why is this an undefined behavior?
2. Common request methods
C file in keil cannot be compiled
The perfect car for successful people: BMW X7! Superior performance, excellent comfort and safety
Breaking the information cocoon - my method of actively obtaining information - 3
ELK日志分析系统
tuple and point
【LeetCode】106. Construct binary tree from middle order and post order traversal sequence (wrong question 2)
Elfk deployment
Pytest (5) - assertion
为什么腾讯阿里等互联网大厂诞生的好产品越来越少?
Linux安装Redis
Watch the online press conference of tdengine community heroes and listen to TD hero talk about the legend of developers
Last words record
Utilisation simple de devtools