REST API - Issue trying to upload image from C# application
Hi All,
I am attempting to upload an image to a users Public album from a C# application and am receiving the following error.
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<response status="error">
<error code="100">
<message>
The file upload encountered a problem.
</message>
</error>
</response>
This is the target URL I am using. I have replaced out community and session ket in the URL with dummy text.
http://OURCOMMUNITYNAME/restapi/vc/users/id/11/media/albums/default/public/images/upload?restapi.session_key=CURRENTSESSIONKEY.
I am performing a HttpWebRequest POST as a multipart/form-data content type.
Are there any good examples of trying this in C# or any suggestions on how to trouble shoot the error result that is returned.
Thank you
Wayne