当前位置:网站首页>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边栏推荐
- Medusa installation and simple use
- Acwing game 58 [End]
- Jd.com 2: how to prevent oversold in the deduction process of commodity inventory?
- Tiny series rendering tutorial
- 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
- [105] Baidu brain map - Online mind mapping tool
- The perfect car for successful people: BMW X7! Superior performance, excellent comfort and safety
- Clean up PHP session files
- Pytest (4) - test case execution sequence
- 看 TDengine 社区英雄线上发布会,听 TD Hero 聊开发者传奇故事
猜你喜欢
Avoid material "minefields"! Play with super high conversion rate
The perfect car for successful people: BMW X7! Superior performance, excellent comfort and safety
Watch the online press conference of tdengine community heroes and listen to TD hero talk about the legend of developers
【LeetCode】404. Sum of left leaves (2 brushes of wrong questions)
SQL injection exercise -- sqli Labs
Single box check box
Pytest (4) - test case execution sequence
腾讯云,实现图片上传
The perfect car for successful people: BMW X7! Superior performance, excellent comfort and safety
[2022 repair version] community scanning code into group activity code to drain the complete operation source code / connect the contract free payment interface / promote the normal binding of subordi
随机推荐
Problem solving: attributeerror: 'nonetype' object has no attribute 'append‘
Apache Web page security optimization
Design and implementation of kindergarten management system
[Yu Yue education] National Open University autumn 2018 8109-22t (1) monetary and banking reference questions
El select, El option drop-down selection box
2022/02/13
From task Run get return value - getting return value from task Run
Pat class a 1160 forever (class B 1104 forever)
C file in keil cannot be compiled
[105] Baidu brain map - Online mind mapping tool
Design and implementation of high availability website architecture
Spark SQL learning bullet 2
Machine learning experiment report 1 - linear model, decision tree, neural network part
TCP security of network security foundation
Pat class a 1162 postfix expression
Why is this an undefined behavior- Why is this an undefined behavior?
ASP. Net core 6 framework unveiling example demonstration [01]: initial programming experience
Six stone programming: advantages of automated testing
Devtools的简单使用
Accuracy problem and solution of BigDecimal