17 Replies
POST body?
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
it could be several mb
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
POSTs can pretty comfortably handle 100MB, especially if being sent locally
blindly redirecting to localhost:port without knowing if the tool is actually running is a very bad UX.
sure, but I can't send it via POST for the same reason I'm having my first problem
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
<img src="http://localhost/favicon.ico" onload="alert('Yay')" onerror="alert('No')">
might be a hacky way to detect if it's running?well... yes and no. I'm just using pages to host my static content. My problem is that I can't server it via plain http.
I mean... :/ ... yeah, it could work, but it just feels very hacky 😦
Yeah, you could. Pretty sure that
<form method="POST" action="http://localhost/">
should workUnknown User•3y ago
Message Not Public
Sign In & Join Server To View
🤔 I think I must make a demo publicly available so you can see the real thing
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
@unlimitedbytes I might be saying this for the 3rd or 4th time. No data is sent to the internet
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
Even if this isn't how most people use Pages, it's a fun problem to try and solve 🙂 Feel free to mute if you're not interested in it
yes, POSTing to localhost might be a feasible workaround. I will explore this in order to see how it works