cURL with binary body

Anybody have an idea how to do a PUT call with a binary body using API Connector / plugin?

curl --location --request PUT 'https://1234.s3.eu-north-1.amazonaws.com/inputs/sunset.jpeg?Content-Type=image%2Fjpeg&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASISS356HPHA6BJCHMMZ%2F20200701%2Feu-north-1%2Fs3%2Faws4_request&X-Amz-Date=20200701T201232Z&X-Amz-Expires=6000&X-Amz-Security-Token=OQoJb3JpZ2luX2VjELT%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEaCmV1LW5vcnRoLTEiRzBFAiB%2F6dD9nRiJV63Af1mGhZ6TbzkoVb3aqotOfjHuxDqHMwIhAMPWk4NtGQchywTP1gNVmPZlmuzwavsZ%2BfpEOy3ywZPsKtYBCE0QABoMMTk3NDMwNTczNTA1IgwwaRzYk0zN9klcGgIqswE4UXPOXzKAo3Z2WSkKhssAGIyPyF4NVWV3OLRE117DUHs%2BFg6qfhdC7j%2BzwbvCJdiJedKPTBapqW2M0nV5qK2ANnf8Fiu%2FdQu71MUBRXBdYG%2FyotD41IvXMv0EIm6Gap6Ypgep7XtHa1ltscxVTA1hzaFPTgxAeSI4s79avC5tvIlfDBebvZ1SXW3cE22W7bkU58tcy2G%2BWTlxDY%2FCMaFQzaR6chhqyjzAJvmlchvvqAykEDC7z%2FP3BTrgAZ7ef67yfl6xevXuSggXSnxR9MQxM4jbBj2tcF456ygx6izEGY2YgqYHC1Iuix51%2F0WFa18kKo0%2BPitTXNJiminoC9vmh8CdjhDrBI1bVtJChPV2pAGCfGvblakLuDVOIpY1vlBo1ToL9C8Gt%2BRFHw7xqTQfVWZ%2BbiWk2gNOHLHyhMmvYVZgQdicW%2BhZELZiy1QaBZqzGhkTSe3B3fCc0ATxYbpMz4reIrEt7VKtIdF8hdvtuWNv%2Fyd9wUKGX4966YxGENSzQYS2hHe0LBKcXfH0O3ThfsyWIfPDqrnnSax7&X-Amz-Signature=c3976a35bffa548df924636fe7e38bf7fc73b20a6d3c95b4357f40e85b4d65bb&X-Amz-SignedHeaders=host' \

--header 'Content-Type: image/jpeg' \

--data-binary '@/Users/me/Downloads/sunset.jpeg'
1 Like

+1 on this question - anyone from Bubble I should tag?

@eve
I have had an open ticket on this for a quite while now. It would be nice to know if this is API connector limitation or a bug?

@MarkusBoostedApp
hi, did you get the answer?