Fetch is always type document

Hi, I’m currently developing an InDesign plugin uxp. I have an existing API to handle our authorization. However, when I try to call a POST endpoint that requires a body/request payload the request type is always a “document” and the request payload is not attached to the API call.

attached is screen shot of actual API call.

the logs below are the actual intercepted fetch call, As per the logs. The request body/payload was attached to it. But in the actual API call on the history request payload is empty.