質問

I'm trying to use the GET method to send and retrieve information from the server but I seem to be having some trouble with the formatting the data for transport.

Does backbone serialize the data into url parameters when using .save() .fetch() or .create()?

I'm trying to

model.save({count: 8},{type:'get'});

But apparently the object isn't being converted to url strings....is it I need to do my own serializing? or am I doing it wrong?

What is the convention when using ":get" instead of "post"?

役に立ちましたか?

解決

If you want to use get you need to pass processData:true in the options

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top