Skip to content
Snippets Groups Projects
post_test.py 378 B
Newer Older
  • Learn to ignore specific revisions
  • import requests
    #r = requests.post('http://cdaql1.jlab.org:5000/run/latest/coin',
    #        data={"run_number":"11"})
    
    
    r = requests.post('http://cdaql1.jlab.org:5000/run/ref/shms',
            json={"run_number":"0"})
    print(r.status_code)
    print(r.text)
    
    r = requests.post('http://cdaql1.jlab.org:5000/run/ref/hms',
            json={"run_number":"0"})
    
    print(r.status_code)
    print(r.text)