All Questions
6 questions
1
vote
3
answers
650
views
React native sends empty req.body and undefined req.file to nodejs multer
Im using react-native and nodejs(multer). In nodejs I receive req.body-{}, req.file-undefined and req.files-undefined
I checked everything in stackoverflow and nothing works. Here is my code.
Client ...
0
votes
2
answers
4k
views
How to upload image with react native?
I upload image with react js like this :
const onSubmit = (e) => {
console.log(e.img);
form.append("file", e.img.originFileObj);
Axios.post("url", form, {
...
1
vote
0
answers
338
views
How to upload image in React Native with NodeJs?
This is my frontend:
import React from 'react';
import {StyleSheet, Text, View, TouchableHighlight } from 'react-native';
import {launchImageLibrary} from 'react-native-image-picker';
const App = () =&...
0
votes
2
answers
799
views
Cloudinary upload image not working (react native and nodes
I am trying to upload an image from my react native app to the nodejs and to the cloudinary cloud, but its not working for me. Thats my react-native code:
const App = () => {
const [...
12
votes
2
answers
2k
views
React-native node.js showing Error: Multipart: Boundary not found while uploading image using react-native-image-picker
While Uploading image , It is showing Error: Multipart: Boundary not found on node js server console
here is my react native code
const createFormData = async (photo, body) => {
const data ...
1
vote
0
answers
326
views
React Native Node Js : Image is not uploading on node js server using react native image picker
Hello I am new to react and I am trying to upload image from react native image picker but it is not uploading to node js server and Image data is not going to backend node js server
here is my ...