challenges creating admin user with curl

45 views
Skip to first unread message

Maurizio Bricola

unread,
Apr 18, 2015, 2:27:33 PM4/18/15
to mayoca...@googlegroups.com
Hi I am running into the folloing issue when creating the admin user. Any advice is very appreciated. Thanks!

talent@ubuntu:~$ sudo curl -i -H "Content-Type: application/jsoon" -X POST -d " { \"slug\" : \"admin\", \"email\" : \"maurizi...@gmail.com\", \"password\" : \"mayo\" } " http://localhost:8080/api/user/
[sudo] password for talent:
HTTP/1.1 404 Not Found
Server: Apache-Coyote/1.1
Content-Type: text/html;charset=utf-8
Content-Language: en
Content-Length: 987
Date: Sat, 18 Apr 2015 16:25:19 GMT

<html><head><title>Apache Tomcat/7.0.52 (Ubuntu) - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 404 - /api/user/</h1><HR size="1" noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b> <u>/api/user/</u></p><p><b>description</b> <u>The requested resource is not available.</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/7.0.52 (Ubuntu)</h3></body></html>talent@ubuntu:~$
Reply all
Reply to author
Forward
0 new messages