Skip to content

Instantly share code, notes, and snippets.

@Zheaoli
Created May 24, 2017 08:23
Show Gist options
  • Select an option

  • Save Zheaoli/85c94ad1863f2a8187807cae5d202588 to your computer and use it in GitHub Desktop.

Select an option

Save Zheaoli/85c94ad1863f2a8187807cae5d202588 to your computer and use it in GitHub Desktop.
import requests
response=resquests.post("sss",json=data)
@Zheaoli
Copy link
Author

Zheaoli commented May 24, 2017

import requests
headers=[
{'content-type':"application/json"}
]
response=resquests.post("sss",json=data,headers=headers)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment