当前位置:网站首页>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边栏推荐
- LeetCode --- 1071. Great common divisor of strings problem solving Report
- 【LeetCode】111. Minimum depth of binary tree (2 brushes of wrong questions)
- Azkaban概述
- 【LeetCode】404. Sum of left leaves (2 brushes of wrong questions)
- This + closure + scope interview question
- Single box check box
- Eight days of learning C language - while loop (embedded) (single chip microcomputer)
- 平台入驻与独立部署优缺点对比
- El tree whether leaf node or not, the drop-down button is permanent
- Azkaban overview
猜你喜欢
LeetCode146. LRU cache
Design and implementation of community hospital information system
el-select,el-option下拉选择框
Hmi-32- [motion mode] add light panel and basic information column
Tiny series rendering tutorial
Pytest (4) - test case execution sequence
Sqoop安装
Talk about the SQL server version of DTM sub transaction barrier function
This + closure + scope interview question
Flume配置4——自定义MYSQLSource
随机推荐
腾讯云,实现图片上传
ASP. Net core 6 framework unveiling example demonstration [01]: initial programming experience
TCP security of network security foundation
Talk about the SQL server version of DTM sub transaction barrier function
数据库和充值都没有了
Hmi-31- [motion mode] solve the problem of picture display of music module
Apache build web host
【LeetCode】501. Mode in binary search tree (2 wrong questions)
Class inheritance in C #
Devtools的簡單使用
ASP. Net core 6 framework unveiling example demonstration [01]: initial programming experience
Bumblebee: build, deliver, and run ebpf programs smoothly like silk
Tiny series rendering tutorial
Acwing game 58 [End]
FBO and RBO disappeared in webgpu
Why is this an undefined behavior- Why is this an undefined behavior?
[micro service SCG] 33 usages of filters
Elk log analysis system
Last words record
Apache Web page security optimization