Skip to content

Commit

Permalink
don't forget to change your api key and octoprintip to suit you, also…
Browse files Browse the repository at this point in the history
… put proper path to curl binary
  • Loading branch information
arhi committed Dec 24, 2017
1 parent 1a19972 commit bc33efc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gs.bat
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ set if=%filepath%%filename%%extension%
set of=%filepath%%filename%_M117%extension%

E:\Dev\eclipse-workspace\gcodestat\gcodestat.exe -d 0.02 -a 1000 --gcode="%if%" --output="%of%" | c:\Windows\System32\msg.exe %username%
E:\bin\curl-7.50.3-win64-mingw\bin\curl.exe -H "X-Api-Key: XXXXXXYOURAPIKEYXXX" -F "select=false" -F "print=false" -F "file=@%of%" "http://octoprintip/api/files/local"
E:\bin\curl-7.50.3-win64-mingw\bin\curl.exe -H "X-Api-Key: XXXXXXYOURAPIKEYXXX" -F "select=false" -F "print=false" -F "file=@%of%" "http://octoprintip/api/files/local"

0 comments on commit bc33efc

Please sign in to comment.