Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
This http call imports a flow file into H2O Flow. First the raw curl command, second the corresponding IntelliJ http file
POST http://localhost:54321/3/NodePersistentStorage.bin/notebook/my-model
Content-Type: multipart/form-data; boundary=WebAppBoundary
Content-Disposition: form-data; name="file"; filename="my-model.flow"
< path/to/my-model.flow
curl http://localhost:54321/3/NodePersistentStorage.bin/notebook/my-model \
-H "Content-Type: multipart/form-data" \
-F "file=@path/to/my-model.flow"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment