0

I am trying to convert this JavaScript code to PHP because I need for another script :

function Auth(reefssid, callback)
{
request({
    url: 'https://api.gigaset-elements.de/api/v1/auth/openid/begin?op=gigaset',
    json: true,
    headers: {
        'Cookie': reefssid
    }
  }
  )
}

So, I have the reefssid as a php variable named $reefssid, but I do not know how to send it through a GET request.

Does anyone have an idea? Thank you.

JSE-Faucet
  • 21
  • 5

0 Answers0