API Debugging
From ePrize Developers Wiki
Output communication test | GET /v1/{apikey}/test/communication | |
Input communication test | POST /v1/{apikey}/test/communication | |
Input URL communication test | PUT /v1/{apikey}/test/communication/{value} | |
Error response test | PUT /v1/{apikey}/test/communication |
TODO: background on debugging HTTP communication with wireshark, firebug. links to tools. examples of using API with curl.
curl -i -T /dev/null http://localhost:8080/v1/solution/ews/test/communication/TEST%2F%E2%99%A1ING curl -i -d value=TEST%2F%E2%99%A1ING http://localhost:8080/v1/solution/ews/test/communication curl -i http://localhost:9092/v1/solution/ews/test/communication curl -i -d value=TEST%2F%E2%99%A1ING http://localhost:8080/v1/solution/ews/test/communication.xml curl -i -d value=TEST%2F%E2%99%A1ING http://localhost:8080/v1/solution/ews/test/communication.json curl -i -d value=TEST%2F%E2%99%A1ING http://localhost:8080/v1/solution/ews/test/communication.yaml curl -i -d value=TEST%2F%E2%99%A1ING http://localhost:8080/v1/solution/ews/test/communication.txt curl -i -H "Accept: application/json" -d value=TEST%2F%E2%99%A1ING http://localhost:8080/v1/solution/ews/test/communication