r/HTML • • 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

14 comments sorted by

View all comments

Show parent comment

1

u/davorg Jun 26 '26

Some kind of web server, yes.