This has been my process:
// Current config
AT+CWMODE=1
AT+CWJAP="ssid","password"
AT+CIPMUX=1
AT+CIPSERVER=0,80
***Connect to IP Address in browser here, use AT+CIFSR if needed ***
AT+CIPSEND=0,314
***Send File via RealTerm Here***
The file I'm sending looks like this:
HTTP/1.1 200 OK
Content-Type: text/html
Connection: close
<!DOCTYPE HTML>
<form method="post" enctype="multipart/form-data">
<div>
<label for="file">Choose file to upload</label>
<input type="file" id="file" name="file" multiple>
</div>
<div>
<button>Submit</button>
</div>
</form>
I suspect the issue is I'm not starting with a /POST or something to that effect but it usually is followed by a "host" and I'm not sure if I'm supposed to enter the IP address I'm hosting at (read somewhere online that that's not recommended, but didn't really say why).
The html code seems to work just fine and I'm pretty sure I'm close but I think I'm missing one bit of information that would make this work. I saw this forum and it seemed active and full of knowledgeable so I thought I'd give it a shot. Any insight you can give me would be greatly appreciated. Thanks!