Problem to create new lead using rest api

I am keep getting {“error”:{“message”:“parameter_absent”,“code”:400}}

i am using outh 1a.



curl_setopt_array($curl, array(

CURLOPT_RETURNTRANSFER => 1,

CURLOPT_URL => ‘http://marketing.fashionlearn.com.br/api/leads/new’,

CURLOPT_USERAGENT => ‘Codular Sample cURL Request’,

CURLOPT_POST => 1,

CURLOPT_POSTFIELDS => array(

‘oauth_callback’ => “https%3A%2F%2Fdevelop.fashionlearn.me%2Fcreateleads”,

‘oauth_consumer_key’ => “186s41rkeqpwow08w8884g0s8s8g4sokgwo4okcsg884ccoo4o”,

‘oauth_nonce’=>$outhnouns,

‘oauth_signature_method’ => “HMAC-SHA1”,

‘oauth_timestamp’ => time(),

‘oauth_token’=>$outh,

‘oauth_version’ => ‘1.0’,

‘oauth_verifier’=>$id,

‘title’=>“fashionlearn2”,

‘firstname’=>‘joce’,

‘lastname’=>‘nunes’







)



the same array i am sending as paramenters while creating signature.

please tell me what i am missing as parameter

I am keep getting {“error”:{“message”:“parameter_absent”,“code”:400}}
i am using outh 1a.

curl_setopt_array($curl, array(
CURLOPT_RETURNTRANSFER => 1,
CURLOPT_URL => ‘http://marketing.fashionlearn.com.br/api/leads/new’,
CURLOPT_USERAGENT => ‘Codular Sample cURL Request’,
CURLOPT_POST => 1,
CURLOPT_POSTFIELDS => array(
‘oauth_callback’ => “https%3A%2F%2Fdevelop.fashionlearn.me%2Fcreateleads”,
‘oauth_consumer_key’ => “186s41rkeqpwow08w8884g0s8s8g4sokgwo4okcsg884ccoo4o”,
‘oauth_nonce’=>$outhnouns,
‘oauth_signature_method’ => “HMAC-SHA1”,
‘oauth_timestamp’ => time(),
‘oauth_token’=>$outh,
‘oauth_version’ => ‘1.0’,
‘oauth_verifier’=>$id,
‘title’=>“fashionlearn2”,
‘firstname’=>‘joce’,
‘lastname’=>‘nunes’

)

the same array i am sending as paramenters while creating signature.
please tell me what i am missing as parameter

Duplicate of https://www.mautic.org/community/index.php/2729-url-not-found-after-authenticating/p1#p8135 . Please, do not spam the same questions all over this forum otherwise you’ll piss the people answering it.