daily pastebin goal
72%
SHARE
TWEET

Untitled

a guest Jun 25th, 2018 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. data = {
  2.     'card[number]': '12',
  3.     'card[exp_month]': str(values['12/30'][:2]),
  4.     'card[exp_year]': str(values['12/30'][-2:]),
  5.     'card[cvc]': '123',
  6.     'card[name]': 'cc_holder_name',
  7. }
  8. url = https://secure.ebs.in/v1/5880/tokens
  9. import requests
  10. requests.post(url, data)
  11.    
  12. <Response [404]>
  13. >>> requests.post(url, data).text
  14. '<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">n<html><head>n<title>404 Not Found</title>n</head><body>n<h1>Not Found</h1>n<p>The requested URL /v1/5880/tokens was not found on this server.</p>n</body></html>n'
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top