Hi All,
I was wondering if there is any way to transfer files from ABAP to HANA repository directly through http calls?
Something similar to the Orion API.
What I have tried so far is:
I tried to use the class "cl_http_client=>create_by_url" and I could fetch the X-CSRF token.
Using this token I create another instance of the "create_by_url" class and use the url (see image) of the directory I want to transfer the files but i'm not sure what are the headers are.
Also, when I run the URL (of the directory where i want to upload my files) in the browser I get something like from the image attached. Can I use this url in the http post?
Any other ideas or pointers to this would be really helpful.
I used this post as an example
ABAP: send file with http post multipart/form-data
Thanks,
Raj