Created
January 23, 2013 22:11
-
-
Save astrotars/4614563 to your computer and use it in GitHub Desktop.
app.post('/clients/:client_id/sweepstakes/:sweepstakes_id/submissons', controllers.submissions.create);
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [2013-01-23T22:09:59.920Z] TRACE: API/10532 on Nicks-MacBook-Pro-2.local: checking for route (req_id=a0fab700-65a9-11e2-a7f3-61250debc07b, req.remoteAddress=127.0.0.1, req.remotePort=62381) | |
| POST /clients/50f72a082d7580c405000001/sweepstakes/50fd94a8d2bd960200000001/submissions HTTP/1.1 | |
| host: localhost:3000 | |
| connection: keep-alive | |
| content-length: 124 | |
| user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_2) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.36 Safari/537.22 | |
| cache-control: no-cache | |
| origin: chrome-extension://fdmmgilgnpjigdojojpjoooidkmcomcm | |
| authorization: Basic NUlVbDNmS2FvNTo0MjZMSnk3ODg3UXp4QzJWRzQzNFVtWmwyZDRicmM1NA== | |
| content-type: application/json | |
| accept: */* | |
| accept-encoding: gzip,deflate,sdch | |
| accept-language: en-US,en;q=0.8 | |
| accept-charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3 | |
| [2013-01-23T22:09:59.923Z] TRACE: API/10532 on Nicks-MacBook-Pro-2.local: router errored out (req_id=a0fab700-65a9-11e2-a7f3-61250debc07b) | |
| MethodNotAllowedError: POST is not allowed | |
| at Router.find (/Applications/MAMP/htdocs/apps/labs/sweeps-api/node_modules/restify/lib/router.js:358:35) | |
| at _route (/Applications/MAMP/htdocs/apps/labs/sweeps-api/node_modules/restify/lib/server.js:479:29) | |
| at Server._handle (/Applications/MAMP/htdocs/apps/labs/sweeps-api/node_modules/restify/lib/server.js:557:17) | |
| at Server.onRequest (/Applications/MAMP/htdocs/apps/labs/sweeps-api/node_modules/restify/lib/server.js:196:22) | |
| at Server.EventEmitter.emit (events.js:96:17) | |
| at HTTPParser.parser.onIncoming (http.js:1806:12) | |
| at HTTPParser.parserOnHeadersComplete [as onHeadersComplete] (http.js:111:23) | |
| at Socket.socket.ondata (http.js:1703:22) | |
| at TCP.onread (net.js:403:27) | |
| [2013-01-23T22:09:59.923Z] TRACE: API/10532 on Nicks-MacBook-Pro-2.local: response::send entered (code=200, headers={}) | |
| body: { | |
| "message": "POST is not allowed", | |
| "statusCode": 405, | |
| "body": { | |
| "code": "MethodNotAllowedError", | |
| "message": "POST is not allowed" | |
| } | |
| } | |
| [2013-01-23T22:09:59.925Z] TRACE: API/10532 on Nicks-MacBook-Pro-2.local: response sent | |
| HTTP/1.1 405 Method Not Allowed | |
| Allow: OPTIONS | |
| Content-Type: application/json | |
| Content-Length: 64 | |
| Date: Wed, 23 Jan 2013 22:09:59 GMT | |
| Connection: keep-alive |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment