通过html表单添加trello卡
我对api非常陌生,想做以下工作: 使用我页面上的表格将新卡片张贴到trello板上。 Trello提供了一个api,但我真的不知道如何使用它: 我的表单如下所示:通过html表单添加trello卡,trello,api,Trello,Api,我对api非常陌生,想做以下工作: 使用我页面上的表格将新卡片张贴到trello板上。 Trello提供了一个api,但我真的不知道如何使用它: 我的表单如下所示: <form id="trello" class="form-horizontal"> <div class="form-group"> <div class="col-md-6"> <input type="text" name="Name"
<form id="trello" class="form-horizontal">
<div class="form-group">
<div class="col-md-6">
<input type="text" name="Name" placeholder="Name" class="form-control" />
</div>
<div class="col-md-6">
<input type="email" name="email" placeholder="eMail" class="form-control" />
</div>
</div>
<div class="form-group">
<div class="col-md-12">
<input type="text" name="Title" placeholder="Title" class="form-control" />
</div>
</div>
<div class="form-group">
<div class="col-md-12">
<textarea name="content" cols="40" rows="10" placeholder="Content" class="form-control"></textarea>
</div>
</div>
<div class="form-group">
<div class="col-md-12">
<input type="file" name="attachment" value="1" class="form-control">
</div>
</div>
<div class="form-group">
<a class="btn btn-primary" id="submit">Submit</a>
</div>
</form>
card-name: $title
card-content: $content
Submitted by: $name ($email)
card-attachment: $attachment
因为此表单应该是公共的(带有验证码),所以oAuth对我来说是不可能的:/
我不知道如何存档此文件:/
如果有人给我举个例子,这会很棒:)
有人能帮我吗?我已经编写了以下代码,它适合我