Skip to content

Latest commit

 

History

History
32 lines (25 loc) · 903 Bytes

README.md

File metadata and controls

32 lines (25 loc) · 903 Bytes

Autodiscover

This is a little Sinatra application that mimics Microsoft's autodiscover protocol.

Running the app

Just start the app with puma:

bundle exec puma

Resources

Local testing

Just some snippets that I am using for testing.

req.xml:

<Autodiscover xmlns="http://schemas.microsoft.com/exchange/autodiscover/outlook/requestschema/2006">
  <Request>
    <EMailAddress>me@example.com</EMailAddress>
    <AcceptableResponseSchema>http://schemas.microsoft.com/exchange/autodiscover/outlook/responseschema/2006a</AcceptableResponseSchema>
  </Request>
</Autodiscover>
curl -XPOST -d @req.xml --header "Content-Type:text/xml" localhost:9292/autodiscover/autodiscover.xml