# HTTP Request; Issue with post request & sap B1 service layer

**URL:** <https://discourse.nodered.org/t/http-request-issue-with-post-request-sap-b1-service-layer/88149>\
**Category:** General\
**Created:** [21 May 2024 13:55 UTC](https://discourse.nodered.org/t/http-request-issue-with-post-request-sap-b1-service-layer/88149 "2024-05-21T13:55:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![asmach](https://avatars.discourse-cdn.com/v4/letter/a/3e96dc/32.png) [@asmach](https://discourse.nodered.org/u/asmach)\
**Post date:** [21 May 2024 13:55 UTC](https://discourse.nodered.org/t/http-request-issue-with-post-request-sap-b1-service-layer/88149/1 "2024-05-21T13:55:42Z")

</div>

Hello,  
I would to fo the authentification to SAP B1 with dynamic password received in the payload.  
When i check available nodes to authentificate to SAP B1 Service layer, I found that the password is static:

 ![SAP B1 authentification node](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/8/3/83d2b14bc0678d70bac25918e3ddbee2d40fe865.png)

However, I don't know the password from the begging. That's why I tried to use the node "HTTPRequest" as shown below:

 ![HTTP Request](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/d/4/d4b54edb4e6db01ba49bcc990f6294141c59595c.png)

I prepared the body of POST Request and I put it in msg.payload but I Got an error" 312;failed to connect to SLD"

Can you help me to solve the issue or there is another node used to authentificate to a restful api and get session ID?

Thanks,  
Best Regards,

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [19 August 2024 13:56 UTC](https://discourse.nodered.org/t/http-request-issue-with-post-request-sap-b1-service-layer/88149/2 "2024-08-19T13:56:26Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
