src/utils.js
function postForm({ url, payload, useBearer }) {
  return ajax({
    url,
    body: makeFormData( payload ),
    method: 'post',
    useBearer
  })
}
function postForm({ url, payload, useBearer }) {
  return ajax({
    url,
    body: makeFormData( payload ),
    method: 'post',
    useBearer
  })
}
function postForm ( { url , payload , useBearer } ) { return ajax ( { url , body : makeFormData ( payload ) , method : 'post' , useBearer } ) }
Post form data.

@param {string} url - The URL to make the request to.
@param {object} payload - Data to be sent with the request.
@param {boolean} useBearer - Flag indicating whether to include bearer authorization.
Post form data .