title: trying to post form using RTK query to nodejs
body: <p>trying to post to nodejs using RTK query mutation
  <div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>   **endpoint nodejs i have posted using 
  fetch(`const handleAddproduct=()=&gt;{ 
   fetch('http://localhost:9000/api/v1/admin/product/new',{
     method:"POST",
    headers:{"Content-Type":"application/json"},
    body:JSON.stringify(newproduct)
  }).then(()=&gt;{
     console.log("new Product added")
   })
   }`*
  but while using rtk mutation it's not post 
   const handleAddproduct=async()=&gt;{
     await Addproductnew(createProduct).unwrap()
    .then((payload) =&gt; console.log('fulfilled', payload))
    .catch((error) =&gt; console.error('rejected', error))
  }
    
   *export const productApi = createApi({
    tagTypes: ['Product'],
    reducerPath: 'productApi',
    baseQuery: fetchBaseQuery({ baseUrl: "http://localhost:9000/"  }),
    endpoints: (builder) =&gt; ({
      getProduct: builder.query({query:(id)=&gt;createRequest(`api/v1/product/${id}`)}),
      getAllProductsByName: builder.query({query:()=&gt;createRequest(`api/v1/products`)}),
      getOrderAdminByName: builder.query({query:()=&gt;createRequest(`api/v1/admin/orders`)}),
      // AddOrdernew:builder.mutation({query:()=&gt;createProductpost(`api/v1/order/new` )}),
      // Addproductnew:builder.mutation({query:()=&gt;createProductpost(`api/v1/admin/product/new`)}),
      Addproductnew: builder.mutation({
              query: newproductid =&gt; ({
                  url: 'api/v1/admin/product/new',
                  method: 'POST',
                  body: {newproductid}    
              }),
          }),
    }),
  })***
    </code></pre>
  </div>
  </div>
  </p>