问题 I have an oauth connection - it works well with all other requests, but one: upload image for listings. Here is the code: $connection = $this->getEtsyConnection(); $imageApiUrl = 'https://openapi.etsy.com/v2/listings/'.$listingId.'/images'; $mimeType = mime_content_type($source_file); $filesize = filesize($source_file); $params = ['@image' => ''.$source_file.';type='.$mimeType, 'rank'=>1, 'overwrite'=>true, 'listing_id'=>intval($listingId) ]; $header = [ 'Content-Type' => 'multipart/form-data