[RestAPI][POST][Base Authorization] Getting 401 while it works good on Postman

I setup an login API profile in ObjectRepository with following info:

  • On Katalon: Running the object, It returns 401 error code.
  • On Postman: It works well, code 200 is responded and user is logged in successfully.

With the same API, on Katalon, I can send a GET request with base Authorization without any issue.
The issue just came when trying to work with POST.

Could someone pls help to give some advice?

Thank you!

Could you show how you passed username, password into the Form-urlencoded?

Hi Brian,

Here is wat I done with the body info:

@Katehtk How did you resolve it?

how did you solve the issue. i am seeing same issue