How do i use the RESTAPI?

How do i use the RESTAPI?

I'm trying to add a request via the RESTApi but it keeps giving me a response of "HTTP/1.1 401 Unauthorized"

This is my first attempt at using an API, so i'm probably doing something obviously wrong, but the documentation doesn't show how to actually specify the Technician API in the HTTP Post. It says to either include it in the URL or the Header, so i tried both, but maybe i'm using the wrong keyword or something? It doesn't actually say in the documentation how to do this... Any help would be appreciated.

Thanks!


I'm using this as my URL:


And this as my Postdata

OPERATION_NAME=ADD_REQUEST
INPUT_DATA={
    "operation": {
        "details": {
            "requester": "PRTG",
            "subject": "Printer Alert: ",
            "description": "Please change the toner",
            "requesttemplate": "Printer Alert",
            "priority": "High",
            "group": "HelpDesk",
            "status": "open",
        }
    }
}

                  New to ADSelfService Plus?