<script setup lang="ts">
const { data } = await useFetch('/api/public/1/auth/myself/', {
  method: 'GET',
  headers: {
    'Accept': 'application/json',
  }
});
</script>

<template>
  <div>
    <h2>MYSELF</h2>
    <div v-if="data === null">
      No Data
    </div>
    <div v-else>
      {{ data }}
    </div>
  </div>
</template>

<style scoped>

</style>