Dear all.
I have recently been working on a file upload system using the HTTP Connector.
I am planning to upload the file to BIOVIA Foundation Hub.
"https://
says it has an API for file upload, so I'm planning to use it.
I created a protocol as a sample, but it does not work...
I looked at past related articles in the user community and found a lot.
Ex.
- This one...
https://r1132100503382-eu1-3dswym.3dexperience.3ds.com/#community:FV3_L4yySoKZ4k2DYvnQ6Q/iquestion:Y4x_uEXeT7CyFF44rBNraQ - This one...
http://www.finiaconsulting.com/blog/2021/02/http-connector-and-file-uploading/
However, I would like more information to understand this system :-(.
Does anyone have any relevant information or samples?

Hi @TK. I've attached a very simple example of using the HTTP Connector component to upload a file using POST to the Hub API endpoint. I have tested it with my own Hub from a Pipeline Pilot server that authenticates against the same Hub instance, which is why I set the Authentication on the HTTP Connector component to use Pipeline Pilot credentials. For large files, this example might not be suitable. Hub supports a chunked upload as well, where large files are uploaded piece by piece to avoid timeouts on the API call. The process is described in the API documentation at the link you show in your post.
Dear @AC .
How to Post the data read by the Binary Reader (how to write request body) was my issue.
Thanks to you, I was able to solve the issue in one shot.
It is so much easier than having to edit the Metadata.
Thank you very much.