Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- data = {
- 'card[number]': '12',
- 'card[exp_month]': str(values['12/30'][:2]),
- 'card[exp_year]': str(values['12/30'][-2:]),
- 'card[cvc]': '123',
- 'card[name]': 'cc_holder_name',
- }
- url = https://secure.ebs.in/v1/5880/tokens
- import requests
- requests.post(url, data)
- <Response [404]>
- >>> requests.post(url, data).text
- '<!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'
Add Comment
Please, Sign In to add comment