Merge pull request #7 from tadl/handle_invalid_xml
[sitka/iNCIPit.git] / README.md
CommitLineData
c089ad56
MC
1iNCIPit
2=======
3
521b8967 4Inital version of ncip v.1 ncip responder for evergreen / open-ils
6e990c20 5
c089ad56
MC
6Initial configuration
7---------------------
6e990c20 8
c089ad56
MC
9Setup the default configuration file:
10
11```
12cp iNCIPit-example.ini iNCIPit.ini # edit as necessary
13```
14
15Optionally, per request hostname configuration files can be used. For example:
fd93bcee 16
c089ad56
MC
17- https://target.host/iNCIPit.cgi # REQUEST URL
18- target.host # HOSTNAME
19- target.host.ini # CONFIGURATION FILE
fd93bcee 20
c089ad56
MC
21```
22cp iNCIPit-example.ini target.host.ini # edit as necessary
23```
24
25Testing
26-------
27
28you can initiate / test with the following:
29
30```
31curl -v --insecure -H 'Content-Type:text/xml' --data @NCIPmsgs/LookupUser.ncip -X POST 'https://target.host/iNCIPit.cgi'
32# (--insecure argument only necessary if you test a target.host lacking a valid cert)
33```
fd93bcee 34
c089ad56 35---