Task: Upload Wordpress Media

n8n workflow:
{"id":52,"name":"Upload Wordpress Media","tags":[],"nodes":[{"name":"Start","type":"n8n-nodes-base.start","position":[240,300],"parameters":{},"typeVersion":1},{"name":"Download File","type":"n8n-nodes-base.httpRequest","position":[440,300],"parameters":{"url":"=https://example.com/example.jpg","options":{},"responseFormat":"file"},"typeVersion":2},{"name":"Set Headers","type":"n8n-nodes-base.set","position":[640,300],"parameters":{"values":{"string":[{"name":"content-type","value":"image/jpg"},{"name":"content-disposition","value":"=attachment; filename={{$binary.data.fileName}}"}]},"options":{}},"typeVersion":1},{"name":"Upload To Wordpress","type":"n8n-nodes-base.httpRequest","position":[840,300],"parameters":{"url":"https://example.com/wp-json/wp/v2/media","options":{"bodyContentType":"raw"},"requestMethod":"POST","authentication":"genericCredentialType","jsonParameters":true,"sendBinaryData":true,"genericAuthType":"httpBasicAuth","headerParametersJson":"={{$json}}"},"credentials":{"httpBasicAuth":{"id":"19","name":"wordpress n8n manual "}},"typeVersion":2},{"name":"Note","type":"n8n-nodes-base.stickyNote","position":[410,60],"parameters":{"width":160,"height":420,"content":"## Download File \nProvide the url of the file you want to want to upload to wordpress."},"typeVersion":1},{"name":"Note1","type":"n8n-nodes-base.stickyNote","position":[610,60],"parameters":{"width":160,"height":420,"content":"## Set Headers \nSet file type in content-type. \n\nYou can provide a custom file name inside content-disposition"},"typeVersion":1},{"name":"Note2","type":"n8n-nodes-base.stickyNote","position":[800,60],"parameters":{"width":180,"height":420,"content":"## Upload\nReplace example.com with your wordpress sites sites domain.\n\nUse the same authentication as needed for the wordpress node. "},"typeVersion":1}],"active":false,"settings":{},"connections":{"Start":{"main":[[{"node":"Download File","type":"main","index":0}]]},"Set Headers":{"main":[[{"node":"Upload To Wordpress","type":"main","index":0}]]},"Download File":{"main":[[{"node":"Set Headers","type":"main","index":0}]]}}}