App functions - how to debug with VS code

Yes, it should be the body. Using the fetch command it’s something like this

const method = options?.data ? 'POST' : 'GET';
const body = options?.data ? JSON.stringify(options.data) : undefined;

const response = await fetch(`/api/${functionName}`, { body, method });