Closed GrahamA2 closed 1 year ago
When running this code results in Uncaught (in promise) TypeError: fetch(...).json is not a function Separating the responseand jsoneach with an await resolves the error
Uncaught (in promise) TypeError: fetch(...).json is not a function
response
json
Based on example code here and here
When running this code results in
Uncaught (in promise) TypeError: fetch(...).json is not a function
Separating theresponse
andjson
each with an await resolves the errorBased on example code here and here