Ad Widget

Collapse

How to fill authorization fields correctly

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • D_K_69
    Junior Member
    • Apr 2023
    • 2

    #1

    How to fill authorization fields correctly

    Hi there,
    I need to tune getting some metrics after authorization. This script works successfully in cli,

    Code:
    curl --location --request POST 'https://myhost/somelocation/api/login' --header 'Content-Type: application/json' --data-raw '{ "username": "username", "password": "password", "realm": "myrealm"}'
    but may be I am wrong filling fields in a one step of tuning of web page's monitoring becouse I get either 405 or 415 error.
    The current tune is on the screenshot. Could you advice please what wrong I have done?
    Attached Files
    Last edited by D_K_69; 26-04-2023, 11:20.
Working...