nl_tokens: Uploads a file as a logged - in user s in - game skin .
pl_tokens: function uploadSkin ( { accessToken } , profileId , file , isSlim = false ) { const form = new FormData ( ) form . append ( 'model' , isSlim ? 'slim' : '' ) form . append ( 'file' , file ) return fetch ( ` ${ CORE_API } ${ profileId } ` , { <mask> : 'PUT' , body : form , headers : { 'user-agent' : USER_AGENT , 'authorization' : ` ${ accessToken } ` } } ) . then ( handleErrors ) . then ( res => null ) }