Re: Correct Syntax for Curl

2019-03-15 Thread sciUser
This worked out perfect, Thank you very much, I can now stop hitting my head in to the wall at least for the weekend. Thank You -- Sent from: http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/

Re: Correct Syntax for Curl

2019-03-15 Thread Nick Couchman
On Thu, Mar 14, 2019 at 9:13 PM sciUser wrote: > So here is what I get when trying to post to the /api/tokens > > curl -X POST -F 'username=secretusername' -F 'password=secretpassword' > http://localhost:8080/labview/api/tokens > {"message":"Invalid login","translatableMessage":{"key":"Invalid

Re: Correct Syntax for Curl

2019-03-14 Thread sciUser
So here is what I get when trying to post to the /api/tokens curl -X POST -F 'username=secretusername' -F 'password=secretpassword' http://localhost:8080/labview/api/tokens {"message":"Invalid login","translatableMessage":{"key":"Invalid

Re: Correct Syntax for Curl

2019-03-14 Thread Nick Couchman
On Thu, Mar 14, 2019 at 18:57 sciUser wrote: > Anyone know the correct syntax for curl syntax to generate a token for a > user? https://davidwalsh.name/curl-post-file curl -X POST -F 'username=guacuser' -F 'password=password' https://example.com/guacamole/api/tokens (I haven't actually

Correct Syntax for Curl

2019-03-14 Thread sciUser
Anyone know the correct syntax for curl syntax to generate a token for a user? What I have so far... Thank You -- Sent from: http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/