It already worked for me. The problem she had was that she had put in English:
getbytitle('All Items')
and I should put it in Spanish:
getbytitle('Todos%20los%20elementos')
On the other hand,
When fixing that point it has worked for me up to the point of adding items, and it adds everything correctly except a field that I have as a date
json code:
{
'__metadata': {'type':'SP.Field'},
'FieldTypeKind':4,
'Title':'Fecha Registro'
}
Mistake:
{"odata.error":{"code":"-1, Microsoft.SharePoint.Client.InvalidClientQueryException","message":{"lang":"es-ES","value":"JSON no v\u00e1lido. Se encontr\u00f3 una coma inesperada en el \u00e1mbito 'Object'. Una coma solo es v\u00e1lida entre propiedades de un objeto o entre elementos de una matriz."}}}
clientRequestId: f81e9d8f-6138-4f69-bc3a-399807959b90
serviceRequestId: aba0aca0-0080-6000-7882-8d0531d5b641