Question: I am having a Web API project in asp.net and this project is hosted on Azure web app services .Azure endpoint of the api works . How can i wrap this api under azure api management ?

Current setup 

Asp.net web Api project > Hosted in azure web app services 

I tried to add the api in API management via blank and open api specification.

I would expect the Azure API Management could connect to my web app service where my asp.net web api project is hosted.

Answer: 
You could add a `body` class according to your URL? So it would be something like this 

```
$(function() {
    if ( document.location.href.indexOf('.nz') > -1 ) {
        $('body').addClass('nz');
    }
});

```

And then in your sass file you can just assign the different colours to the children of `body.nz` like this: 

```
$bg-color: gray;

.button{
    background: $bg-color;
}

body.nz {
    $bg-color: green;

    button {
        background : $bg-color;
    }
}

```
You could print via javascript the value of `location.href` into a `data-url` attribute of the body element, e.g.

```
<script>
  document.body.dataset.url = location.href;
</script>

```

and your css code would be

```
.button {
  background : gray;
}

[data-url*=".nz"] .button{
  background : green
}

```

> 
> [Codepen demo](https://codepen.io/anon/pen/EJdeLa)
> 
> 
>