Relative Content

Tag Archive for javascriptajaxfetchfetch-api

Javascript multiple fetch calls in sequence

I’m trying to make multiple fetch calls in sequence. So the first call works just fine, however, when I try to make the second call after the first call, it throws the 500 error. I’ve Been trying to mess with the client side as well as the server side all day but just have no clue. So what I’m doing below is making two fetch calls in sequence, with just a different method and a different url.