on 2023 Jun 23 5:48 AM
I want to send requests to an on-premise API server using "HTTP with Azure AD" and an on-premise gateway. (Using Service Layer and Basic Authentication.)
If I simply make a GET request, it works fine. (Without Body)
If I do a POST without Body, it works fine.
However, if I do a POST with Body, it will result in a BadGateway error.
{<br>"error": {<br>"code": 500,<br>"message": "{\r\n \"error\": {\r\n \"code\": 500,\r\n \"source\": \"japan-001.azure-apim.net\",\r\n \"clientRequestId\": \"41628a7a-a8fa-45e4-a80a-b2b956ba9cea\",\r\n \"message\": \"BadGateway\",\r\n \"innerError\": {\r\n \"debugInfo\": \"clientRequestId: 41628a7a-a8fa-45e4-a80a-b2b956ba9cea\"\r\n }\r\n }\r\n}"<br>}<br>}
When I do this in POSTMAN in an on-prem environment with an API server, everything works fine.
Please let me know how I can get rid of the error.
Request clarification before answering.
You have to save the B1_Sesion and RouteId cookies and send them in the Get header, so that it takes the session information.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
59 | |
8 | |
8 | |
6 | |
5 | |
4 | |
4 | |
3 | |
2 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.