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
#!/usr/local/bin/python3 | |
import sys, csv | |
import json | |
import logging | |
logging.basicConfig(filename='middleware.log', level=logging.DEBUG) | |
logging.debug('middleware called') | |
tokens = {} |
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
using System; | |
using System.Net; | |
using RestSharp; | |
using Newtonsoft.Json; | |
namespace WireMockSample | |
{ | |
public class SimpleServiceCaller | |
{ | |
private readonly string _baseUrl; |