API Call with ABAP - POST Method and JSON Request [english]
ฝัง
- เผยแพร่เมื่อ 27 มิ.ย. 2024
- In today's video I will show you how to call an external API from SAP.
I use a POST CALL and pass a JSON string to this API. To test this, I looked on the website RapidApi.com for a free service that I can pass a JSON string via POST call.
I already used 2x an API of this website.
1x for a simple GET request and
1x for a file upload
I link these videos on the top right.
Today I use an API for translations.
#sap #api #post
▬▬ Literature 📚 ▬▬▬▬▬▬▬▬▬▬▬▬▬
▶ ABAP: An Introduction 2020 amzn.to/45CLTqk
▶ Complete ABAP 2023 amzn.to/45D5UNM
▶ ABAP to the Future 2022 amzn.to/42cgWGs
▶ Clean ABAP 2022 amzn.to/3KAqmow
▬▬ My Hardware 💻 ▬▬▬▬▬▬▬▬▬▬▬▬▬
▶ Microphone: amzn.to/3zj2UIz
▶ Headphone: amzn.to/3GUBRFg
▬▬ My Software (free) 💾 ▬▬▬▬▬▬▬▬▬▬▬
▶ Video Recorder: bit.ly/678fgh6
▶ Video Editor: bit.ly/38Rj9lb
▶ Thumbnail: bit.ly/CustAndCodeThumbnail
▶ Gamma AI: bit.ly/3nsdvgr
▬▬ Further Links 🔗 ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
⭐Become my subscriber: bit.ly/CustAndCodeSub
🎬All videos in English: bit.ly/CustAndCodeENG
☕Buy me a Coffee 😀: bit.ly/3dih2cl
*The links are affiliate links. There are no additional costs.
Sap icons created by Freepik - Flaticon
www.flaticon.com/free-icons/sap
Great videos as always !! Keep it coming through. It’s very very useful !!
Thank you very much for your feedback! 😀🤗
Great tutorial, very comprehensible and direct to result with efficiency and without thousand of useless lines and silly complementary process (the hell with SM59 !) THANK YOU VERY MUCH. You made my day
haha Thanks! 😀 I'm glad you liked it. And thank you for watching! 🤗
Thank you so much for this video. I have learnt a lot from your videos.
I'm glad to hear that! Thanks for the feedback! 🤗
Thanks for the Great Videos!
Thank you! I'm glad to hear that! Thanks for the feedback! 🤗😀
Thankyou very much sir! youre so kind to share your knowledge about sap abap.
its very helpful for me
Have a great day sir!😄
Thank you very much for your kind feedback! 🤗 Yes, sharing knowledge is one of my reasons to do this channel! 🤗😀
Sir, how to check if my API is connect or not in sap abap debug ? i try in postman and its ok status 200., but in sap abap when in o_client->receive( ) the program stopped and show that http_communication_failure @@CustAndCode
Maybe you have to install a certificate I have made a video about that 🤗
Thank you for sharing! Can you tell me how I can implement JSON web tokens (JWT) in this code or recommend a site where I can find more information about this?
Unfortunately not I'm not experienced with JWT. 😐
Hey man, is there are way that we could show only the text translated in the result? (Instead of the entire json response)
There is always a way... 😉 You can work with substrings or you can translate the Json to an ABAP structure like an internal table... have a look at this video: th-cam.com/video/v_McRGowbbo/w-d-xo.html
😀
I have uploaded the certificate in STRUST but still the status code is 0 .
Have you added the cert to the certificate list? 🤔
Hi expert, I added the certificate but still it showing HTTP_COMMUNICATION_FAILURE error...
Have you picked the right folder (Standard)? and is the certificate in the certificate list? 🤔
can we access Graph QL also?
I haven't used Graph QL yet. It should be possible but not like this way. There are some conversions necessary. 🤔
This is amazing. Thanks a lot.
Thank you very much I am glad! 😀🤗
hi friend, very good video, can you please share the abap code ?
Unfortunateley I do not maintain a blog. 🤗 But in my videos we have not that much code, is typed quickly 🤗