Last active
August 29, 2015 14:15
-
-
Save ferromir/c200a0c87e97d098ca26 to your computer and use it in GitHub Desktop.
APPEKHO-1741 - Curls for error replication
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
curl http://10.229.48.35:8282/people \ | |
--request POST \ | |
--header "Content-Type: application/json" \ | |
--data-binary ' | |
{ | |
"focusset_id": "54760a5ae4b04f6a80bde81a", | |
"from_date": "1416729600000", | |
"to_date": "1424200529143", | |
"ekhoscore_data": { | |
"aug_weights": { | |
"emotion": 0.0, | |
"impact": 0.5, | |
"interest": 0.0, | |
"opinion": 0.0 | |
} , | |
"terms_and_weights": [ | |
{ | |
"syn_terms": [ "bacon" ], | |
"weight": 0.5 | |
} | |
] | |
}, | |
"limit": 200 | |
}' | |
curl https://dev-api.ekho.me/v2/accounts/petrodehnal/focussets/54760a5ae4b04f6a80bde81a/social/top/people \ | |
--request POST \ | |
--header "Content-Type: application/json" \ | |
--header "Authorization: ApiKey ytP5WVmxEtQpgpiwXdQWcjTUSuo3t5ER" \ | |
--data-binary ' | |
{ | |
"from_date": "1416729600000", | |
"to_date": "1424200529143", | |
"ekhoscore_data": { | |
"aug_weights": { | |
"emotion": 0.0, | |
"impact": 0.5, | |
"interest": 0.0, | |
"opinion": 0.0 | |
} , | |
"terms_and_weights": [ | |
{ | |
"syn_terms": [ "bacon" ], | |
"weight": 0.5 | |
} | |
] | |
}, | |
"limit": 200 | |
}' | |
curl https://dev-api.ekho.me/v2/accounts/petrodehnal/focussets/54760a5ae4b04f6a80bde81a/social/top/people \ | |
--request POST \ | |
--header "Content-Type: application/json" \ | |
--header "Origin: http://www.ekho.me" \ | |
--header "Authorization: Token 7dc078e9eb5911f1012e64195d419101" \ | |
--data-binary ' | |
{ | |
"from_date":1416729600000, | |
"to_date":1424200529143, | |
"limit":200, | |
"ekhoscore_data": { | |
"aug_weights": { | |
"emotion":0, | |
"impact":0.5, | |
"interest":0, | |
"opinion":0 | |
}, | |
"terms_and_weights": { | |
"syn_terms":["bacon"], | |
"weight":0.5 | |
} | |
} | |
}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment