Procedure UploadUserAvatarImage

It allows to any user upload the avatar image representing his profile.

This procedure must be used with the method POST.

The image can be any of: ‘jpg’, ‘jpeg’, ‘png’, ‘gif’.

The image max size can be 512KB, up to 256×256 pixels.

Input parameters:

  • CyberName = License’s name for the E-Sport.
  • UserName = UserName.
  • Token = Session Token.
  • file = photo file binary encode.

Example of use:

https://wingamer.ar/ApiMasterControl/UploadUserAvatarImage.php

Output:

  • Array Object [ {“ResponseClass”: “OK”} ]
  • Array Object [ {“ResponseClass”: “ERROR”, “Param1”: “error message”} ]