Skip to content
Snippets Groups Projects
Commit 118f925f authored by Christopher Randolph Rhodes's avatar Christopher Randolph Rhodes
Browse files

Confirmed body data is passed to PUT, removing temp test script

parent b44fae11
No related branches found
No related tags found
No related merge requests found
import os
import sys
for sp in ['model_server/model_server/clients', 'trec_adaptive_feedback/trec_adaptive_feedback/clients']:
sys.path.append(os.path.join(os.path.expanduser('~'), sp))
from imagej.adapter import hit_endpoint, verify_server
if __name__ == '__main__':
print(verify_server(popup=False))
data = {'par1': 'hello', 'par2': ['ab', 'cd']}
resp = hit_endpoint('PUT', '/bounce_back', params=None)
print(resp)
assert resp['status'] == 200
print('Finished')
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment