jsonplaceholder icon indicating copy to clipboard operation
jsonplaceholder copied to clipboard

Support string ids

Open detj opened this issue 10 years ago • 1 comments

Presently id should be numeric. Can string be supported too?

like

GET https://example.com/books/cf65e570

db.json

{
  "books": [{ "id": "cf65e570", "name": "The Book of Job" }]
}

detj avatar Feb 11 '15 21:02 detj

Hi, Yes, it's supported.

typicode avatar Feb 11 '15 21:02 typicode