- 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
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Text; | |
| using Rhino.Mocks; | |
| using Xunit; | |
| namespace ClassLibrary1 | |
| { | |
| public class RhinoMocksRecursiveMocking |
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"
| { | |
| "BTTPresetName" : "jfojtl", | |
| "BTTPresetUUID" : "327F315B-827A-463A-8530-205903C90226", | |
| "BTTPresetContent" : [ | |
| { | |
| "BTTAppBundleIdentifier" : "com.apple.Safari", | |
| "BTTAppName" : "Safari", | |
| "BTTAppProcessMatchMode" : 2, | |
| "BTTAppProcessName" : "Safari", | |
| "BTTAppSpecificSettings" : { |
| ### 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: |
| { | |
| "models": [ | |
| { | |
| "title": "Llama 3.1 8B", | |
| "provider": "ollama", | |
| "model": "llama3.1:8b" | |
| }, | |
| { | |
| "model": "claude-3-5-sonnet-20240620", | |
| "provider": "anthropic", |