, , . node, , $scope URL- API, https://api.discogs.com.
, OAuth , . , var_dump() $result sign():
array(5) {
'sbs' =>
string(269) "GET&https%3A%2F%2Fapi.discogs.com%2Fmarketplace%2Flistings&oauth_consumer_key%XXXXX%26oauth_nonce%3DMOtWK%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1453937109%26oauth_token%XXXXX%26oauth_version%3D1.0"
}
, "OAuthSimple" , , , , , "".
, :
$result = $oauthObject->sign(
array(
'path' => $scope . '/marketplace/listings',
'signatures' => $signatures,
)
);
:
$result = $oauthObject->sign(
array(
'path' => $scope . '/marketplace/listings',
'signatures' => $signatures,
'action' => 'POST',
)
);
API. , , - , _ Mint API, Mint (M).
, , , " ". .
, , GET. , , Guzzle Client, POST- , , , . , , , , .
, :)