mardi 14 novembre 2017

How to pass null value in RESTful way (GET filtering)? As an empty value or as 'null'?

I want to retrieve all installations that weren't removed yet.

Should I do this like that:

/installations?removedOn=

or

/installations?removedOn=null

or maybe in some other way?

/installations?removed=false

Aucun commentaire:

Enregistrer un commentaire