(.iqe_venv) [iqe-notifications-plugin]$ (.iqe_venv) [iqe-notifications-plugin]$ curl https://console.stage.redhat.com/api/notifications/v1.0/notifications/behaviorGroups --proxy http://squid.corp.redhat.com:3128 -u notifications-user:redhatqa! -XPOST -H 'Content-Type: application/json' -d '{"behavior_group": {"bundle_id": "35fd787b-a345-4fe8-a135-7773de15905e", "display_name": "Test Behavior Groups 1723095", }}' -vvv Note: Unnecessary use of -X or --request, POST is already inferred. * Trying 10.68.5.41:3128... * Connected to squid.corp.redhat.com (10.68.5.41) port 3128 (#0) * allocate connect buffer! * Establish HTTP proxy tunnel to console.stage.redhat.com:443 * Server auth using Basic with user 'notifications-user' > CONNECT console.stage.redhat.com:443 HTTP/1.1 > Host: console.stage.redhat.com:443 > User-Agent: curl/7.71.1 > Proxy-Connection: Keep-Alive > < HTTP/1.0 200 Connection established < * Proxy replied 200 to CONNECT request * CONNECT phase completed! * ALPN, offering h2 * ALPN, offering http/1.1 * successfully set certificate verify locations: * CAfile: /etc/pki/tls/certs/ca-bundle.crt CApath: none * TLSv1.3 (OUT), TLS handshake, Client hello (1): * CONNECT phase completed! * CONNECT phase completed! * TLSv1.3 (IN), TLS handshake, Server hello (2): * TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8): * TLSv1.3 (IN), TLS handshake, Certificate (11): * TLSv1.3 (IN), TLS handshake, CERT verify (15): * TLSv1.3 (IN), TLS handshake, Finished (20): * TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1): * TLSv1.3 (OUT), TLS handshake, Finished (20): * SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384 * ALPN, server accepted to use h2 * Server certificate: * subject: C=US; ST=North Carolina; L=Raleigh; O=Red Hat, Inc.; CN=*.stage.redhat.com * start date: Dec 1 00:00:00 2021 GMT * expire date: Dec 1 23:59:59 2022 GMT * subjectAltName: host "console.stage.redhat.com" matched cert's "*.stage.redhat.com" * issuer: C=US; O=DigiCert Inc; CN=DigiCert SHA2 Secure Server CA * SSL certificate verify ok. * Using HTTP2, server supports multi-use * Connection state changed (HTTP/2 confirmed) * Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0 * Server auth using Basic with user 'notifications-user' * Using Stream ID: 1 (easy handle 0x55b695cffee0) > POST /api/notifications/v1.0/notifications/behaviorGroups HTTP/2 > Host: console.stage.redhat.com > authorization: Basic bm90aWZpY2F0aW9ucy11c2VyOnJlZGhhdHFhIQ== > user-agent: curl/7.71.1 > accept: */* > content-type: application/json > content-length: 123 > * We are completely uploaded and fine * TLSv1.3 (IN), TLS handshake, Newsession Ticket (4): * TLSv1.3 (IN), TLS handshake, Newsession Ticket (4): * old SSL session ID is stale, removing * Connection state changed (MAX_CONCURRENT_STREAMS == 100)! < HTTP/2 403 < server: openresty < content-length: 0 < x-rh-insights-request-id: 23873e88efe947249808aa369bad507f < x-content-type-options: nosniff < date: Tue, 12 Apr 2022 12:53:08 GMT < set-cookie: 8f585a7d113e400d14faa100d81cbdaf=8d2d154b498ba042ad2ae4e36a123eb5; path=/; HttpOnly; Secure; SameSite=None < x-rh-edge-request-id: 41224dd0 < x-rh-edge-reference-id: 0.37283417.1649767988.41224dd0 < x-rh-edge-cache-status: Miss from child, Miss from parent < x-frame-options: SAMEORIGIN < * Connection #0 to host squid.corp.redhat.com left intact (.iqe_venv) [iqe-notifications-plugin]$