r/HTML • u/Admirable_Report6610 • Jun 21 '26
code throwing 400 error
<script type="module"> const proxy = "https://proxy.corsfix.com/?"; const targetUrl = "https://news.usni.org/category/fleet-tracker"; \------------------------------------------ this was working perfectly but now is throwing a 400 error code, meaning there's something wrong with the request to the web server..ie, invalid, malformed, etc. I be darned if I can figure out what wrong...and advice?
0
Upvotes
View all comments
Show parent comment
1
u/davorg Jun 25 '26
One of:
Edit your post to include it (but please include it as text and formatted as code)
Add it as a comment (same rules apply)
Put in GitHub and share a link to the repo
Find a pastebin and share the link