myxer.profile.setImage
Sets the image for the profile. Displayed on the Myxer site.
Note: This method requires a
multipart form post.
Arguments
- api_key
- Your API application key. See here for more details on api_key.
- method
- myxer.profile.setImage
- profile_id (optional)
- Value returned by api.profile.add (looks like 'p-######').
Uses the primary profile if none is specified.
- api_sig
- Secure signature of the api parameters. See here for details on api_sig.
- file
- binary image file (not included in api_sig hash)
Example Response
The response format is a simple XML block.
Success Response
<?xml version="1.0" encoding="utf-8" ?>
<response status="ok"></response>
Error Response
<?xml version="1.0" encoding="utf-8" ?>
<response status="fail">
<code>[error-code]</code>
<msg>[error-message]</msg>
</response>