forked from mobiletulip/messagebird-sms-api-php
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexample_form.html
executable file
·46 lines (45 loc) · 1.78 KB
/
example_form.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<!--
=======================================================================
File: example_form.html
Author: MessageBird B.V.
For more information visit http://www.messagebird.com/content/api
This example HTML requires to be on an web-server with PHP 5.1.x support to work
It needs the example_form.php script to be in the same directory
========================================================================
-->
<head>
<title>MessageBird API Example2</title>
</head>
<body>
<form name="apiExampleForm" action="example_form.php" method="post">
<table summary="API Form">
<tr>
<td>Destination: *</td>
<td><input value="31600000000" type="text" name="destination" /></td>
</tr>
<tr>
<td>Sender: *</td>
<td><input value="YourSender" type="text" name="sender" /></td>
</tr>
<tr>
<td>Reference:</td>
<td><input type="text" name="reference" /></td>
</tr>
<tr>
<td colspan="2">Message: *</td>
</tr>
<tr>
<td colspan="2"><textarea name="message" rows="6" cols="50">This is a test message</textarea></td>
</tr>
<tr>
<td colspan="2"><button type="submit" name="submit">Send message</button></td>
</tr>
<tr>
<td colspan="2">* Are required fields</td>
</tr>
</table>
</form>
</body>
</html>