Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

angularjs how to get a response from a post request

const res = {
  "status": true,
  "data": {
    "cServico": {
      "Codigo": "04510",
      "Valor": "65,00",
      "PrazoEntrega": "6",
      "ValorSemAdicionais": "65,00",
      "ValorMaoPropria": "0,00",
      "ValorAvisoRecebimento": "0,00",
      "ValorValorDeclarado": "0,00",
      "EntregaDomiciliar": "S",
      "EntregaSabado": "N",
      "obsFim": {},
      "Erro": "0",
      "MsgErro": {},
    },
  },
};
console.log(res.data.cServico.Valor);
Source by www.tektutorialshub.com #
 
PREVIOUS NEXT
Tagged: #angularjs #response #post #request
ADD COMMENT
Topic
Name
2+5 =