首页 > 解决方案 > 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

标签: laravelapipostman

解决方案


您必须按如下方式构建用户名:

用于认证的用户名由用户名组成(通常是电子邮件地址“@”之前的第一部分)+ | (管道)+公司名称。

因此,使用以下方式授予访问权限:

用户名

testUser|testCompany

密码

testPw

例如:用户|公司.com


推荐阅读