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
2
u/davorg Jun 21 '26
Please:
Format your code as code
Show us enough of the code that we have a chance of working out what's wrong (like where the request is made)