The following is a simple form with post. I get back missing auth header.
The plan is to turn the text fields into "hidden" thus only the the "Match ..." button remains.
<form action="lichess.org/api/challenge/bot9504" method="post" enctype="text/plain">
<table>
<tr>
<td width="564">rated:
<input name="rated" value="false" size="10" maxlength="10" type="text">
<br>
clock.limit:
<input name="clock.limit" value="600" size="5" maxlength="5" type="text">
<br>
clock.increment:
<input name="clock.increment" value="5" size="1" maxlength="1" type="text">
<br>
color:
<input name="color" value="white" size="5" maxlength="5" type="v">
<br>
variant:
<input name="variant" value="standard" size="8" maxlength="8" type="text">
<br>
headers:
<input name="headers" value="'Authorization':'Bearer blah....blah','Content-Type': 'application/x-www-form-urlencoded' " size="78" maxlength="78" type="text">
<br>
</td>
</tr>
<tr>
<td><input value="Match bot9504" type="submit">
<input type=reset value=Reset> </td>
</tr>
</table>
</form>
There should be a way to make a simple form work since the challenge is via POST. Of course for blah...blah, I have my real API access token.
The plan is to turn the text fields into "hidden" thus only the the "Match ..." button remains.
<form action="lichess.org/api/challenge/bot9504" method="post" enctype="text/plain">
<table>
<tr>
<td width="564">rated:
<input name="rated" value="false" size="10" maxlength="10" type="text">
<br>
clock.limit:
<input name="clock.limit" value="600" size="5" maxlength="5" type="text">
<br>
clock.increment:
<input name="clock.increment" value="5" size="1" maxlength="1" type="text">
<br>
color:
<input name="color" value="white" size="5" maxlength="5" type="v">
<br>
variant:
<input name="variant" value="standard" size="8" maxlength="8" type="text">
<br>
headers:
<input name="headers" value="'Authorization':'Bearer blah....blah','Content-Type': 'application/x-www-form-urlencoded' " size="78" maxlength="78" type="text">
<br>
</td>
</tr>
<tr>
<td><input value="Match bot9504" type="submit">
<input type=reset value=Reset> </td>
</tr>
</table>
</form>
There should be a way to make a simple form work since the challenge is via POST. Of course for blah...blah, I have my real API access token.