Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
use curl in quick macros
#1
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


Messages In This Thread
use curl in quick macros - by jps01 - 02-09-2020, 09:36 PM
RE: use curl in quick macros - by Gintaras - 02-10-2020, 06:23 AM
RE: use curl in quick macros - by jps01 - 02-10-2020, 09:54 AM
RE: use curl in quick macros - by jps01 - 02-10-2020, 12:01 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)