This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static IDisposable HttpInterface(Setting setting, Interface @interface = null, string url = null, bool adminApi = false) | |
{ | |
var httpInterface = WebApp.Start(url ?? @interface.Http.Url, (app) => | |
{ | |
var config = new HttpConfiguration(); | |
config.Formatters.JsonFormatter.MediaTypeMappings.Add(new System.Net.Http.Formatting.RequestHeaderMapping("Accept", | |
"text/html", | |
StringComparison.InvariantCultureIgnoreCase, | |
true, | |
"application/json")); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"meta": { | |
"theme": "stackoverflow" | |
}, | |
"basics": { | |
"name": "Aditya Tandon", | |
"label": "Frontend Developer", | |
"picture": "", | |
"email": "[email protected]", | |
"phone": "(+91)-9625426012", |