Hello @AntonPineiro
thanks for the quick reply.
Actually my python script is working well as expected what i want is to do same thing in dynatrace on the HTTP monitor (in the pre-script) ..
what i want is to monitor the response of this request via synthetic monitor (HTTP) .