             e.preventDefault()
             button = $ @
             prehead = if button.hasClass 'btn-success' then '' else 'un'
-            $.post "/plan/#{prehead}subscribe/", {
+            $.post "/plan/#{prehead}subscribe/", JSON.stringify {
               plan: button.parent().data 'type'
             }
             .success ->

  ssh.find 'button'
      .on 'click', (e) ->
        e.preventDefault()
        $.post '/plugin/ssh/update_passwd/', {
          passwd: ssh.find('input').val()
        }
        .success ->

    if reply.status is 400
      error = reply.responseJSON.error
      ErrorHandle.flushInfo 'alert', error
  $.ajaxSetup {
    contentType: 'application/json; charset=UTF-8'
  }

  service = $ '#service'
  service.find 'button'
