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
    Location
    Mumbai, India
    Posts
    488

    uploading Image from Xamarin Forms to Server

    hi
    i have a webservice running but say the webservice address is :
    estateservice.estate.com

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

    but my main application is in
    estate.com

    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 estate.com 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 Estateservice.estate.com server, sending the image data in the request payload.
    Implement a specific endpoint on the Estateservice.estate.com 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 Estateservice.estate.com, you will be able to access it using its URL on that domain.
    In your Estate.com application, make an HTTP request to retrieve the downloaded image from EstateService.Estate.com 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