Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

139
Vistas
SharePoint REST API. 400 Bad Request when Making an AJAX call on SharePoint List

Good Afternoon. I'm not sure what I'm doing wrong here. I have a REST API call on a SharePoint list and for the life of me cannot figure out why I'm getting a 400 Bad Request message. Here's my call....

myURL = "my sharepoint site URL"

$.ajax({
url: myURL + "/org/Analysis/_api/web/list/GetByTitle('Analysis')/items?$filter=Accepted%20eq%20%27Yes%27&$select=Date_x0020_of_x0020_Activity, Accepted"
method: "GET"
headers:{"ACCEPT" : "application/json;odata=verbose",
"content-type":"application/json;odata=verbose"
},
// success function and some other stuff


});

Thank you in advance....

about 4 years ago · Juan Pablo Isaza
2 Respuestas
Responde la pregunta

0

Can you try with changing the code?

headers: { 
    "Accept": "application/json;odata=verbose",  
    "Content-Type": "application/json;odata=verbose",  
    "X-RequestDigest": $("#__REQUESTDIGEST").val()  
}
about 4 years ago · Juan Pablo Isaza Denunciar

0

You can refer to the following url

_api/web/list/GetByTitle('Analysis')/items?$select=Date_x0020_of_x0020_Activity,Accepted&$filter=Accepted eq 'Yes'
about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda