2018 Jan 12 6:12 AM
Dear All,
I have a requirement in which I have to put the data on azure blob container and retrieve the data.Our system is connected to Azure cloud using APIs provided by apigee and they have provided APIs to put the blob data and get access token.
Anyone has any idea how to call it from using ABAP?
Below are the parameters which I have to pass for doing this.
Get SAS token -

Put Blob -

Please let me know.
Thanks & Regards,
Praveen
2018 Jan 12 6:31 AM
Dear All,
I have a requirement in which I have to put the data on azure blob container and retrieve the data.Our system is connected to Azure cloud using APIs provided by apigee and they have provided APIs to put the blob data and get access token.
Anyone has any idea how to call it from using ABAP?
Below are the parameters which I have to pass for doing this.
Get SAS token -

Put Blob -

Please let me know.
Thanks & Regards,
Praveen
2018 Jan 12 6:31 AM
2018 Jan 15 3:26 AM
Hi Raymond,
Thanks for your suggestion.
I am using CL_HTTP_CLIENT and I need to fill up client key and client secret in body instead of authorization in headers but I can see only headers in this class.

But how we will fill up the body parameters in code? This is screenshot of postman where we tested the API and it is working as it should.

Please let me know how we can adopt it in ABAP code.
Thanks & Regards,
Praveen
2018 Jan 16 3:59 AM
Hi Raymond,
We need to fill set_form_field method for that.
I am able to get the response back.
Thanks & Regards,
Praveen
2019 Jun 04 9:55 AM
Hi Praveen,
I also have a similar situation. Can you please let me know what steps you have performed on your end to be able to connect.
Regards,
Jyothir Aditya
2020 Feb 07 6:37 AM
Hi Praveen,
Could you please share the steps you have followed to achieve this requirement.
we have same requirement from client end.
Thanks
Dhananjay
2022 May 06 10:53 AM
We can consume a data service by using the method CREATE_BY_URL of the class CL_HTTP_CLIENT, but when authentication is involved this method is ill suited for it.
The CREATE_BY_DESTINATION method however enables us to store the Credentials in a more standard and secured fashion.
Sample code I implemented successfully in order to acquire the Bearer token from AD:
https://github.com/MartinPankraz/AzCosmosDB-OData-Shim/blob/main/ZDemoFrontDoorReport.abap
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |