fixed GET requests not appending an & between the endpoint and the payload http query
psr standards code reformat