I am trying to access an API, but the instructions I have been given are written for ruby, which I am not familiar with. I am coding in PHP and was after some assistance in translating the instructions:
GET /webservice/parties HTTP/1.1
Host: http://subdomain.domain.com
Authorization: Basic YXBpOmZhYTFmYmMwN2Q1MTczNTI3NGFj
Additional instructions: username being sent should be “api”
Apologies if the question is rudimentary, unclear or already answered somewhere else. And thanks in advance.