Created
July 19, 2013 03:47
-
-
Save brianly/6034981 to your computer and use it in GitHub Desktop.
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
POST https://www.yammer.com/api/v1/activity.json HTTP/1.1 | |
Authorization: Bearer REMOVED | |
Content-Type: text/plain; charset=utf-8 | |
Host: www.yammer.com | |
Content-Length: 494 | |
Expect: 100-continue | |
Connection: Keep-Alive | |
{"activity":{"actor":{"name":"Jim Martin","email":"[email protected]"},"action":"yammermvc:publish","object":{"url":"https://dox.com/file/abc123.pdf","description":"A set of charts showing the ROI of deploying Yammer over time.","video":{"width":1,"height":1},"type":"yammermvc:photo","title":"Yammer ROI.pdf","image":"https://dox.com/file/abc123.pdf"},"private":"false","message":"This is the updated version for the conference.","users":[{"name":"Brian Davis","email":"[email protected]"}]}} | |
HTTP/1.1 400 Bad Request | |
Server: nginx | |
Date: Fri, 19 Jul 2013 03:38:04 GMT | |
Content-Type: application/json; charset=utf-8 | |
Connection: keep-alive | |
Status: 400 Bad Request | |
Access-Control-Allow-Headers: Content-Type, X-Requested-With, NETWORK_ID, Authorization, X-CSRF-Token | |
Access-Control-Allow-Methods: OPTIONS, GET, HEAD, POST, PUT, DELETE, TRACE, CONNECT, PROPFIND, PROPPATCH, MKCOL, COPY, MOVE, LOCK, UNLOCK, VERSION-CONTROL, REPORT, CHECKOUT, CHECKIN, UNCHECKOUT, MKWORKSPACE, UPDATE, LABEL, MERGE, BASELINE-CONTROL, MKACTIVITY, ORDERPATCH, ACL, SEARCH, PATCH | |
X-Robots-Tag: none | |
X-Date: 1374205084391 | |
X-Runtime: 0.146166 | |
X-UA-Compatible: IE=Edge,chrome=1 | |
Access-Control-Allow-Origin: https://ymodules.yammer.com | |
Access-Control-Allow-Credentials: true | |
X-XSS-Protection: 1; mode=block | |
Cache-Control: no-cache | |
Content-Length: 50 | |
{"errors":["Missing required param \"activity\""]} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
do you fixed this