How To Create a Json Rest Api with SAP Abap

Поділитися
Вставка
  • Опубліковано 21 гру 2022
  • In this video, learn,
    How to create a json based rest api and publish it on SICF services
    How to test rest api from browser
    How to test rest api with Postman
    How to apply MVC1 routing, handling multiple requests with a single rest api end point.
    blogs.sap.com/2022/11/18/how-...
  • Наука та технологія

КОМЕНТАРІ • 13

  • @arfeenmushtaq4273
    @arfeenmushtaq4273 Рік тому +1

    Thanks, man. Really liked the video

  • @MickParedesU
    @MickParedesU 7 місяців тому

    Excellent, it works nice.

  • @PaolaCuoghi
    @PaolaCuoghi 2 місяці тому

    Hi Beyhan, many thanks

  • @sherifelkoumy3131
    @sherifelkoumy3131 10 місяців тому +1

    Hi Beyhan, This method works with Basic Auth Method, because the http connection made via SM59 access the source with only user id and password. What about if the Auth. type OAuth 2.0? Is there anyway to extract data? because you have first to generate a token and then the get method. I think, first call is Post Methods and then get the token and then Get methods and then the data comes in Json format.

  • @somyasreedas7802
    @somyasreedas7802 Рік тому +1

    Hi Could you elaborate how to consume data from non-sap to sap table using rest api(json format)?

  • @venugopalakrishnasoyam7922
    @venugopalakrishnasoyam7922 Рік тому

    Hi Please make a video on jwt token authorization from sap to Google server
    Thanks !

  • @sampaulchriston5781
    @sampaulchriston5781 7 місяців тому

    How to make it as https?

  • @HasanFaracov147
    @HasanFaracov147 Рік тому

    Hi Beyhan, firstful thanks for the video. I get result but it is not what i want. i dont want '/' (slash) in the json . How do i fix this problem.

  • @joaocarlossouzafilho7105
    @joaocarlossouzafilho7105 Рік тому +1

    i'm getting CORS problem when calling the request from localhost server

    • @beyhanmeyrali6208
      @beyhanmeyrali6208 Рік тому

      You may get cors error from REST Api and solution is empty implementation of HANDLE_CSRF_TOKEN method in ZREST_CL_HTTP_HANDLER class. If you have done that check it with postman. if you are not getting cors in postman but on browser, you need to change browser settings to ignore cors or you can use proxy in your web framework.

    • @joaocarlossouzafilho7105
      @joaocarlossouzafilho7105 Рік тому

      ​@@beyhanmeyrali6208 I've already left the implementation blank for the HANDLE_CSRF_TOKEN. In the broswer and insomnia/postman it works fine. In the JAVA server localhost application it gets CORS error

    • @naveenchandar5902
      @naveenchandar5902 Рік тому

      Did you able to find a way to handle this cors issue.?