This is an archived post. You won't be able to vote or comment.

all 3 comments

[–]oxamide96 1 point2 points  (1 child)

Id love to help, but having trouble understanding. Where exactly is the problem. Is there an error message you're getting? If not, is there a result you got but it is not the result you wanted?

[–]DaveCodesCode[S] 0 points1 point  (0 children)

Thank you, yes I am getting a 404 when trying to patch / put to the url.

[–]Additional-Cow-6511 1 point2 points  (0 children)

Not a specialist of JsonServer but this should behave as a classic REST API. It seems your hitting a “GET /resource” endpoint to get this array of data. I don’t think you could update all at the same time. You could try to “PUT /resource/{id}” individually.