# How to upload image in ionic with web api c#

**URL:** <https://forum.ionicframework.com/t/how-to-upload-image-in-ionic-with-web-api-c/165594>\
**Category:** Ionic Native\
**Created:** [June 6, 2019, 1:57am UTC](https://forum.ionicframework.com/t/how-to-upload-image-in-ionic-with-web-api-c/165594 "2019-06-06T01:57:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![DiegoFerCHS](https://avatars.discourse-cdn.com/v4/letter/d/b19c9b/32.png) [@DiegoFerCHS](https://forum.ionicframework.com/u/DiegoFerCHS)\
**Post date:** [June 6, 2019, 1:57am UTC](https://forum.ionicframework.com/t/how-to-upload-image-in-ionic-with-web-api-c/165594/1 "2019-06-06T01:57:34Z")

</div>

Hello ionic friends will have pdfs or videos to do the enunciado

---

<div class="post-metadata">

**Author:** ![gokujy](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/gokujy/32/117753_2.png) [@gokujy](https://forum.ionicframework.com/u/gokujy)\
**Post date:** [June 6, 2019, 5:24am UTC](https://forum.ionicframework.com/t/how-to-upload-image-in-ionic-with-web-api-c/165594/2 "2019-06-06T05:24:19Z")

</div>

First of all Use image picker or Camera plugin to select picture then use file transfer plugin to upload selected picture in your server & it will give you in return image name. After this create post code in use that image name and user id to store your image on server.

---

<div class="post-metadata">

**Author:** ![vasanthb](https://avatars.discourse-cdn.com/v4/letter/v/4da419/32.png) [@vasanthb](https://forum.ionicframework.com/u/vasanthb)\
**Post date:** [June 6, 2019, 5:47am UTC](https://forum.ionicframework.com/t/how-to-upload-image-in-ionic-with-web-api-c/165594/3 "2019-06-06T05:47:34Z")

</div>

You can refer this repository of mine for single image or multiple image or multiple image and other type of files in a single http request.

> **[coolvasanth/upload-multiple-image-files-in-Ionic-3-4](https://github.com/coolvasanth/upload-multiple-image-files-in-Ionic-3-4)**
>
> To upload multiple files and images to server via API - coolvasanth/upload-multiple-image-files-in-Ionic-3-4
