Posts: 2,437
Joined: Mar 2010
Reputation:
50
jingai
Skilled Skinner
Posts: 2,437
Eh, did you copy and paste it, with the exception of the -u switch onward? Seems like your command line input is munged.
Posts: 17
Joined: Aug 2014
Reputation:
0
2016-10-25, 17:22
(This post was last modified: 2016-10-25, 17:22 by MattDale.)
I did. I've also tried removing the password and awaiting the prompt for it (which I got, as you'd expect) - same result. Hm! Sorry, I'm new to a lot of this so working somewhat blind.
Posts: 2,437
Joined: Mar 2010
Reputation:
50
jingai
Skilled Skinner
Posts: 2,437
I'm fairly positive you're missing the single quotes around the --data-binary argument ('{"jsonrpc":2.0"...."id":1}'), and possibly the -H argument.
I just tried it here without the quotes and get the same output you got.
Posts: 17
Joined: Aug 2014
Reputation:
0
Thanks. I am indeed trying to run this from my local machine. New to Heroku too, and can't see how I can run curl from there - all instructions for running commands seem to be pointing me back to my local CLI.
Posts: 17
Joined: Aug 2014
Reputation:
0
Woah, hold your horses everyone, I seem to be working now!
I just reset the username and password in Heroku (I SWEAR it was right in the first place, just trying anything at this stage) and it's working now!
Thanks so much for your help everyone.
Posts: 19
Joined: Nov 2011
Reputation:
2
Jagsta
Junior Member
Posts: 19
Actually, I know nothing about Heroku either, I have no idea if they provide a shell or if this is possible using an API, it might not be.