Last active
January 14, 2019 11:06
-
-
Save lcoenen/64bc87f601d8a672cbf67a6af442d3ad 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 'https://flex-api.sharetribe.com/v1/api/transactions/initiate' | |
-H 'Accept: application/transit+json' | |
-H 'Referer: http://localhost:3000/l/the-windows-glenmire/5c0a5516-51d0-459a-88be-2b61af89f186/checkout' | |
-H 'Origin: http://localhost:3000' | |
-H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36' | |
-H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJtYXJrZXRwbGFjZS1pZCI6IjViZGMzN2EwLWU1YTctNDFiZC05NzY4LTA1MTAzZmMyNDNlOSIsImNsaWVudC1pZCI6IjJlMjljMGU2LTcyZTgtNGVlNi1hNTlkLTQ5ODRiN2U4ZDZlMSIsInRlbmFuY3ktaWQiOiI1YmRjMzdhMC1lNWE3LTQxYmQtOTc2OC0wNTEwM2ZjMjQzZTkiLCJzY29wZSI6InVzZXIiLCJleHAiOjE1NDc0NjM3NzcsInVzZXItaWQiOiI1YzBhNTUxNi1hOWYxLTRlYzUtYmNlMS02YmMxNTk4YzhhN2MiLCJ1c2VyLXJvbGVzIjpbInVzZXIucm9sZS9wcm92aWRlciIsInVzZXIucm9sZS9jdXN0b21lciJdfQ.4ISLov8EhoFvD6tnf1H4d5jw1EgVlncRo5V_rIzj__k' | |
-H 'Content-Type: application/transit+json' | |
--data-binary '["^ ","~:transition","transition/request","~:processAlias","preauth-with-nightly-booking/release-1","~:params",["^ ","~:listingId","~u5c0a5516-51d0-459a-88be-2b61af89f186","~:cardToken","tok_1DsT4sCOYsatlqwZqDjLwTYk", | |
"~:bookingStart","~m1547510400000", | |
"~:bookingEnd","~m1547596800000"]]' | |
--compressed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment