リクエストにプリミティブオブジェクトが含まれていない場合、GETメソッドを使用してhttpパラメータでリクエストオブジェクトを設定できますか?jsonを使用してPOSTメソッドでそれを行うことはできますが、GETの代替手段はありますか?
[DataContract]
[RestService("/foo")]
public class FooRequest
{
[DataMember]
public string Color1 { get; set; }
[DataMember]
public FooDto Dto { get; set; }
}
public class FooDto
{
public string Color2 { get; set;}
}
この例ではColor1が設定されていますが、どうすればDto.color2を設定できますか?
http://server/fooservice/servicestack/foo?Color1=blue&Dto.Color2=red