Last active
July 17, 2017 22:36
-
-
Save caio-nas/9e62d2e4432b8c06f07e4ed95d62cebd to your computer and use it in GitHub Desktop.
This file contains 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 -0 -v -XPOST http://localhost:3000/posts.json \ | |
-H "Expect:" \ | |
-H 'Content-Type: application/json; charset=utf-8' \ | |
-d @- << EOF | |
{ | |
"post": { | |
"author_id": "5482696809", | |
"author_name": "@endireitabelem", | |
"body": "Diretas já em cuba .\n#bolsonaro2018 \n#bolsonaropresidente \n#ForaPT \n#ForaComunistas \n@Endireitabelem \nAjude a pagina a crescer, divulgue com seus amigos e familiares vamos juntos Endireitar Belém e o Brasil.", | |
"document_id": "BVADte9Ako7m567891101234", | |
"media_type": 0, | |
"media_url": "https://instagram.ffor10-1.fna.fbcdn.net/t51.2885-15/e35/18888639_316614322085688_5508250537272803328_n.jpg", | |
"published_at": "2017-06-06T14:07:57+00:00", | |
"snippet": "Diretas já em cuba . #bolsonaro2018 #bolsonaropresidente #ForaPT #ForaComunistas @Endireitabelem Ajude a pagina a crescer, divulgue com seus", | |
"source": 1, | |
"video_url": null, | |
"tags": ["hello", "bolsonaro2018", "foraLula", "outraTag"] | |
} | |
} | |
EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment