use a specific value from JSON response from GET request via fetch –> to a POST request

the main goal here is to use the part of the response, in the 2nd POST requset.

Let me explain –
given the following endpoint:

https://www.example.com/Applications/?api-version=1&_cacheToken=1675420688869

the response from sending a GET request to the endpoint is :

{"field1":"","Items":[{"Name":"app:/appname","field2":"appnumber","field3":"appvers","Status":"Ready","Parameters":[],"health":"Ok","kind":"numbers","ids":{"id":[]},"met":{"met1":{}},"Id":"1"}]}

I would like to use only the value of “appname”.
hence i’m using it as follows –

---SNIP---
...
.then(data => {
  const appname = data.Items[0].Name;
  const appname_updated = appname.replace('app:/', '');
...
---SNIP---

I would like to use it with a second fetch request, but this time in a form of POST (in the endpoint itself and in the body):

return fetch('https://www.example.com/deploy/'+appname_updated+'/?api-version=1', {
    method: 'POST',
    headers: { 'Accept': 'application/json, text/plain, */*', 'Content-Type': 'application/json; charset=utf-8' },
    mode: 'no-cors',
    body: JSON.stringify({
      appname: appname_updated,
      field1: "blah"
    })
  });
})

How this can possible be done ? so the first GET will be sent, receieve 200 ok,
and once it got the 200 status, the POST should send right after with the proper
values populated.

No matter what i’ve tried so far, nothing seems to be send the second POST rquest.
(I’ve tried it with asyc/wait etc.)

Thanks