Mailee Client v2

무료
분류별 mailee | 업데이트됨 3 месяца назад | Data
인기

2.3 / 10

지연 시간

542ms

서비스 수준

100%

Health Check

N/A

모든 토론으로 돌아가기

Trying to create a new contact using the API

Rapid account: Ricalamino
ricalamino
8 лет назад

Everytime I try to create a new contact using the code below, the response is about a registered user…

$response = Unirest\Request::post(“https://mailee.p.mashape.com/contacts?api_key=xxxxx&subdomain=xxxxxxxb”,
array(
“X-Mashape-Key” => “YNov1zyYLKmshjFDYqG2lrdJWrZxp1MB5G2jsnBtkmWGLNScqk”,
“Content-Type” => “application/x-www-form-urlencoded”,
“Accept” => “application/json”
),
array(
“email” => "teste_john@mailee.me"
)
);

The response is:

code => (int) 201
raw_body => ‘{“id”:198437075,“email”:“0460.cpolxxxa@braxxco.com.br”,“name”:“carlos pereira oliveira”,“status”:“valid”,“address”:null,“age”:null,“birthday”:null,“company”:null,“forwarded_by”:null,“internal_id”:“5249”,“latitude”:null,“longitude”:null,“mobile”:null,“notes”:null,“phone”:null,“photo”:null,“position”:null,“sex”:null,“created_at”:“2015-12-03T16:55:15+00:00”,“updated_at”:“2015-12-03T17:00:08+00:00”,“errors”:{},“dynamic_values”:{}}’
body => object(stdClass) {

Rapid account: Leonidasv
leonidasv Commented 8 лет назад

Same here.

아래에 의견을 추가하고 토론에 참여하세요.

새 댓글을 게시하려면 로그인 / 가입