Skip to content

Commit

Permalink
remove sessionid, identify correctly to be polite
Browse files Browse the repository at this point in the history
  • Loading branch information
nonrational committed Mar 7, 2014
1 parent d299e8d commit 3215fe1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions privnote-cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,9 @@ function sendPrivNote(note){
method: 'POST',
headers: {
'Content-Length': post_data.length,
"Cookie": "sessionid=a323ded53f943af9eb9e1595428d18f7;",
"Origin": "https://privnote.com",
"Accept-Language": "en-US,en;q=0.8",
"User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.146 Safari/537.36",
"User-Agent": "privnote-cli/0.0.1 (https://github.com/nonrational/privnote-cli)",
"Content-Type": "application/x-www-form-urlencoded",
"Accept": "application/json, text/javascript, */*",
"Referer": "https://privnote.com/",
Expand Down

0 comments on commit 3215fe1

Please sign in to comment.