Skip to content
This repository was archived by the owner on Mar 16, 2019. It is now read-only.
This repository was archived by the owner on Mar 16, 2019. It is now read-only.

LIMIT_UNEXPECTED_FILE #590

@bisht2ankit

Description

@bisht2ankit

I am using react native fetch blob and getting this in response.

imageUpload(image){
RNFetchBlob.fetch('POST', BASE_URL+'api/multimedia/image', {
'Content-Type' : 'multipart/form-data',
}, [

    { name : 'avatar', filename : image, type:'image/jpg', data: RNFetchBlob.wrap(image)},

  ]).then((resp) => {
  alert(JSON.stringify(resp))
  }).catch((err) => {
    alert('error')
  })

}

I am getting this response(see in image)

whatsapp image 2017-11-06 at 6 33 07 pm

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions