Ignore HTTP 404 Error

I making a GetAsync request but my API returns a 404 status (which is expected). How can I make the code handle that instead of just erroring?

Use pcall, it will return 1 or 2 results, boolean and variant


  • true if the action is complete and what it returns.
  • false an error occurred and the error as a string.