Sign in
Log inSign up

How to build a REACT FORM to post an object like this at once to the backend server?

Subho Karmakar's photo
Subho Karmakar
·Dec 10, 2019
{
  accountDetail: {
    accountStatus: "",
    referralCode: "",
    signUpRemarks: "",
    adminRemarks: "",
    accountStatusRemarks: ""
  },
  address: {
    latLong: {
      latitude: 0,
      longitude: 0
    },
    locality: {
      city: {
        district: {
          id: 55,
          state: {
            id: ""
          }
        },
        id: 1683
      },
      id: 9
    },
    street: ""
  },
  businessDetail: {
    businessName: "",
    gstRegistered: true,
    gstin: ""
  },
}

PLEASE HELP