Hi,
I have an issue when I try to use HTTP Request.
From the studio I receive:
Response: Something bad happened. Check your request and try again !!
Status: 500
Reason Phrase: Internal Server Error
Header: [Server=nginx/1.19.6, Date=Mon, 13 Jun 2022 10:58:46 GMT, Transfer-Encoding=chunked, Connection=keep-alive]
Message: [Content-Type=text/plain]
When I try from SOAP UI result is:

The endpoint is:
http://api.polycomp.bg/service/data/v1/vendors/testand the studio code is:
defVar --name success
--type Boolean
defVar --name response
--type String
defVar --name status
--type Numeric
defVar --name reasonPhrase
--type String
defVar --name header
--type StringDictionary
--innertype String
defVar --name message
--type StringDictionary
--innertype String
httpRequest --verb "Get"
--url "http://api.polycomp.bg/service/data/v1/vendors/test" success=success response=value status=statusCode reasonPhrase=reasonPhrase header=headers message=contentHeaders
logMessage --message "Success:
${success}\r\n\r\nResponse:
${response}\r\n\r\nStatus:
${status}\r\n\r\nReason Phrase:
${reasonPhrase}\r\n\r\nHeader:
${header}\r\n\r\nMessage:
${message}"
--type "Info"
Could you support me where I am wrong?
Best regards,
------------------------------
Stanislav Terziev
------------------------------