microserviciile de register, login finalizate
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
$headers_array = [
|
||||
"/authentication" => [
|
||||
"register" => [
|
||||
"Content-Type" => "application/json",
|
||||
"Authorization" => hash('md5', 'service_authentication'),
|
||||
"Auth-Request" => "register"
|
||||
],
|
||||
"login" => [
|
||||
"Content-Type" => "application/json",
|
||||
"Authorization" => hash('md5', 'service_authentication'),
|
||||
"Auth-Request" => "login"
|
||||
],
|
||||
|
||||
"default" => [
|
||||
"Content-Type" => "application/json",
|
||||
"Authorization" => hash('md5', 'service_authentication')
|
||||
],
|
||||
]
|
||||
];
|
||||
|
||||
$_SESSION['headers_configuration'] = $headers_array;
|
||||
Reference in New Issue
Block a user