02-09-2020, 09:36 PM
I'm trying to upload an image to groupme through their API using Quick Macros and I am unable to figure out the solution.
Maybe someone can suggest a way to convert this CURL code into something I can use in QM. When I run this curl code from a windows command line it works fine. (obviously I will change the token here so this will not work)
curl https://image.groupme.com/pictures -X POST -H "X-Access-Token: w2lN1UI55cjTvftTcjlIIZ4gNDnV9nfQeP5kd" -H "Content-Type: image/jpeg" --data-binary @C:\Users\jim\Pictures\GroupMe\example.png
I thought maybe I could modify the DropBox macros but that uses the "application/octet-stream" content_type and for groupme I need to use content type image/jpeg.
Have a great day.
Jim
Maybe someone can suggest a way to convert this CURL code into something I can use in QM. When I run this curl code from a windows command line it works fine. (obviously I will change the token here so this will not work)
curl https://image.groupme.com/pictures -X POST -H "X-Access-Token: w2lN1UI55cjTvftTcjlIIZ4gNDnV9nfQeP5kd" -H "Content-Type: image/jpeg" --data-binary @C:\Users\jim\Pictures\GroupMe\example.png
I thought maybe I could modify the DropBox macros but that uses the "application/octet-stream" content_type and for groupme I need to use content type image/jpeg.
Have a great day.
Jim