Merge pull request #1916 from hoilc/mastodon-with-get-method

use GET method for mastodon
This commit is contained in:
Alexandre Alapetite
2018-06-05 09:35:22 +02:00
committed by GitHub

View File

@@ -120,11 +120,10 @@ return array(
'method' => 'GET',
),
'mastodon' => array(
'url' => '~URL~/api/v1/statuses',
'transform' => array(),
'url' => '~URL~/share?title=~TITLE~&url=~LINK~',
'transform' => array('rawurlencode'),
'form' => 'advanced',
'method' => 'POST',
'field' => 'status',
'method' => 'GET',
),
'pocket' => array(
'url' => 'https://getpocket.com/save?url=~LINK~&title=~TITLE~',