cancel
Showing results for 
Search instead for 
Did you mean: 

How to Install "Repair order modul" in Swagger editor

New Contributor

How to Install "Repair order modul" in Swagger editor

 
3 REPLIES 3
Moderator

Re: How to Install "Repair order modul" in Swagger editor

The question is unclear. Can you provide more details?

New Contributor

Re: How to Install "Repair order modul" in Swagger editor

Here is the code, I can not connect it to Swagger database using PHP curl. any idea?

 

$user = urlencode("atsjD1ESjQAc1CgYssWf3n7Ulk5s4U06");
$pass = urlencode("MTGjsSVkT6R4dz1L");

$url1 = file_get_contents("https://".$user.":".$pass."@stage.apigw.cdkapps.eu/sample/sample/v1"); //replace "CLIENT-ID"
//."/repair-orders?licensePlate=".$licensePlate
$url = 'https://stage.apigw.cdkapps.eu/sample/sample/v1/repair-orders?licensePlate=$licensePlate';

$header = get_headers($url);
print_r($header);
$status_code = $header[0];
print "<br> status: ".$status_code;


$result = json_decode($url);
print_r( $result );

Highlighted
Moderator

Re: How to Install "Repair order modul" in Swagger editor

Not sure we'll be able to help. "Swagger database" is not something that exists, and generally speaking Swagger/OpenAPI is used to describe APIs and has nothing to do with databases.

New Here?
Join us and watch the welcome video:
Watch the New Interview
7Mistakes
Join our online event
SeptemberHubBub
Join the September Hub-bub to show off, learn and win