- XML GET
curl -H "Accept: application/xml" -H "Content-Type: application/xml" -X GET "http://hostname/resource"
- JSON GET
curl -i -H "Accept: application/json" -H "Content-Type: application/json" -X GET "http://hostname/resource"
- JSON PUT
### Keybase proof | |
I hereby claim: | |
* I am jfojtl on github. | |
* I am jfojtl (https://keybase.io/jfojtl) on keybase. | |
* I have a public key ASAhGGjxbSWGQcD0SrQiJWMfkJPdDLLO15l0im5OfTyrXAo | |
To claim this, I am signing this object: |
{ | |
"BTTPresetName" : "jfojtl", | |
"BTTPresetUUID" : "327F315B-827A-463A-8530-205903C90226", | |
"BTTPresetContent" : [ | |
{ | |
"BTTAppBundleIdentifier" : "com.apple.Safari", | |
"BTTAppName" : "Safari", | |
"BTTAppProcessMatchMode" : 2, | |
"BTTAppProcessName" : "Safari", | |
"BTTAppSpecificSettings" : { |
curl -H "Accept: application/xml" -H "Content-Type: application/xml" -X GET "http://hostname/resource"
curl -i -H "Accept: application/json" -H "Content-Type: application/json" -X GET "http://hostname/resource"
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using Rhino.Mocks; | |
using Xunit; | |
namespace ClassLibrary1 | |
{ | |
public class RhinoMocksRecursiveMocking |