JS WordPress API fetch no response headers
I’ve finally got it, the parse is not an argument of query but is actually the second argument of apiFetch so it should’ve been: const response = await apiFetch({ path: addQueryArgs(‘/wp/v2/posts’, query), parse: false, });