Results 1 to 2 of 2

Thread: uploading Image from Xamarin Forms to Server

  1. #1

    Thread Starter
    Hyperactive Member kuldevbhasin's Avatar
    Join Date
    Mar 2008
    Mumbai, India

    uploading Image from Xamarin Forms to Server

    i have a webservice running but say the webservice address is :

    i can upload the image to the upload folder in this domain

    but my main application is in

    now the image is needed in this domain but as far as i know i when my webapi is in estaterservice i cannot upload the image directly to right ?

    very puzzled as to how to do this. anyone can pls. guide me as to how to go around this pls.
    The only time you run out of chances is when you stop taking them.
    The mind is like a parachute.
    It doesnít work unless itís open.

  2. #2

    Re: uploading Image from Xamarin Forms to Server

    Convert the image to an array of bytes or any suitable transfer format.
    Make a Web API call from a Xamarin Forms application to the server, sending the image data in the request payload.
    Implement a specific endpoint on the server to get the image data and store it in a desired location, such as an upload folder.
    Once the image has been successfully uploaded to, you will be able to access it using its URL on that domain.
    In your application, make an HTTP request to retrieve the downloaded image from using its URL.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Click Here to Expand Forum to Full Width