let user = {
        name: 'John',
        surname: 'Smith'
      }
      let response = await fetch('/article/fetch/post/user', {
        method: 'POST',
        headers: {
          'Content-Type': 'application/json;charset=utf-8'
        },
        body: JSON.stringify(user)
      });
      let result = await response.json()
      

      Javascript language logo
      Post fetch

      api
      fetch
      post
      ...
      Javascript recipes

      Post fetch

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.