You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi everyone, im building a fullstack app about books and im trying to send data from frontend to backend, i have two problems, if i set the image in my book.cs and AddBookDto.cs file to IFormFile then my angular returns error saying that few other fields are required even tho i im sending that data back, and if i set it to string it returns the data to the backend but doesn't import to cloudinary, instead just saves the url to database like 'c:/program/images/image.jpg', so i can't see that image in my app.
here's my repo: https://github.com/aleksandars99/MyBookShelf
Guidelines
I have read and understood this category's guidelines before making this post.
Programming HelpProgramming languages, open source, and software development.
1 participant
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Body
Hi everyone, im building a fullstack app about books and im trying to send data from frontend to backend, i have two problems, if i set the image in my book.cs and AddBookDto.cs file to IFormFile then my angular returns error saying that few other fields are required even tho i im sending that data back, and if i set it to string it returns the data to the backend but doesn't import to cloudinary, instead just saves the url to database like 'c:/program/images/image.jpg', so i can't see that image in my app.
here's my repo: https://github.com/aleksandars99/MyBookShelf
Guidelines
Beta Was this translation helpful? Give feedback.
All reactions