cancel
Showing results for 
Search instead for 
Did you mean: 

Receiver Rest Adapter uses Basic Authorization after 401

Robert_d_Hoedt
Explorer
0 Kudos
273

Hi people,

In PO75 I have a scenario where I send a message from the Receiver Rest Adapter , via a Proxy server to an API PORTAL and from there to the Receiver.

My Rest Adapter is set to use Basic Authorization and has a API Subscription key in the header.

What happens in the communication is that my PI system first sends out the message without Basic Authorization, then receives an HTTP401 response.

It then resends the same message with the Basic Authorization and receives an HTTP202 message.

I found this only when I used XPI inspector, but in the API Portal the logging shows both the 401 and 202 messages. And they don’t want that.

Is there a way that I can force PI to send the Basic Authorization directly, without getting the 401?

Maybe through use of a module or something?

Or is there a setting in NWA that I can use?

Regards

Robert

Accepted Solutions (0)

Answers (0)