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

Pass model-associated request data in body, not query

parent 0c25e41d
No related branches found
No related tags found
2 merge requests!50Release 2024.06.03,!45Issue0037
......@@ -44,7 +44,7 @@ def main(request_func, in_abspath, params):
resp = request_func(
'PUT',
'/ilastik/seg/load/',
{
body={
'project_file': px_ilp,
'duplicate': False,
},
......@@ -55,7 +55,7 @@ def main(request_func, in_abspath, params):
# load object classifier
resp = request_func(
'PUT', '/ilastik/pxmap_to_obj/load/',
{
body={
'project_file': ob_ilp,
'duplicate': False,
},
......@@ -67,7 +67,7 @@ def main(request_func, in_abspath, params):
resp = request_func(
'PUT',
'/ilastik/pixel_then_object_classification/infer',
{
body={
'px_model_id': id_px_mod,
'ob_model_id': id_ob_mod,
'input_filename': in_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