laravel - Connect GIATA hotel mapping with postman
问题描述
I am trying to use GIATA multi-codes for hotels mapping but they have HTTP Basic authentification when i type url like this https://multicodes.giatamedia.com/webservice/rest/1.0/properties/country/US pop up appears to write my username and password but how to work with that using api request with postman for example
I tried adding username:password@url but still doesn't work with me
解决方案
您必须按如下方式构建用户名:
用于认证的用户名由用户名组成(通常是电子邮件地址“@”之前的第一部分)+ | (管道)+公司名称。
因此,使用以下方式授予访问权限:
用户名
testUser|testCompany
密码
testPw
例如:用户|公司.com
推荐阅读
- javascript - React.PropsWithChildren 除了 `children` 没有其他道具?
- ios - SwiftUI 网格项内存泄漏
- swift - makeAlert 函数总是返回 False
- python-3.x - 请求如何发送有效负载以登录并确认帖子成功
- android - 如何在 viewModel Kotlin Android 中保护参数?
- record - fluentd添加字段并通过json输出
- flutter - 如何解决错误:未定义“setState”
- c# - C# Selenium:重定向并获取过时的元素引用:元素未附加到页面文档
- python - 根据另一个列表中的 True/False 过滤列表中的元素
- c++ - 寻找C++程序的执行路径