gmx 用户名可用性检查

问题描述 投票:0回答:0

curl -XPOST -H 'Authorization: Bearer <TOKEN>' -H 'X-CCGUID: <GUID>' -H "Content-type: application/json" -d '{"emailAddress":"[email protected]","firstName":"","lastName":"","birthDate":"","city":"","countryCode":"US","suggestionProducts":["gmxcomFree"],"maxResultCountPerProduct":"10","mdhMaxResultCount":"5","initialRequestedEmailAddress":"","requestedEmailAddressProduct":"gmxcomFree"}' 'https://signup.gmx.com/suggest/rest/email-alias/availability'

这样当我发送帖子请求时,响应源返回为空。

必须回复:

{"requestedEmailAddress":"[email protected]","emailAddressAvailable":false,"suggestedEmailAddresses":{"gmxcomFree":["[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]"]},"mdhSuggestions":[]}

有没有不使用浏览器的解决方案?

rest curl post get postman
© www.soinside.com 2019 - 2024. All rights reserved.