0

i try to send some parameters using a web app in node, but show me this error's

Response for preflight has invalid HTTP status code 405
405 (Method Not Allowed)

error app

By the way, if use a app for make request, i use ARC, work fine

arc

arc 2

I check the cors in my node project, but don't say me nothing about the cors

$http.post('http://unicesarapp.azurewebsites.net/api/Materias1', 
          {"Id":1,"Nombre":"Prog. Haskell","Creditos":3,"IdGrupo":11,"Dia":"Miercoles","Hora":8,"Lugar":"Bloque B"}
    ).then(function(response){
        console.log(response);
    }).catch(function(error){
        console.log(error);
    });

0 Answers0