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":[]}
有没有不使用浏览器的解决方案?