skip to Main Content

Postgresql – Problem in a function inside of contructor isnt returning the expected value after using Post method

Problem in calculating the age of majority of a student in Spring Boot I have a Student class with the following attributes: package com.example.estudantes.model; import jakarta.persistence.*; import lombok.Getter; import lombok.NoArgsConstructor; import lombok.Setter; import java.time.LocalDate; import java.time.Period; @Entity @Table(name = "students")…

VIEW QUESTION

Javascript – How to parse in Postman body response from XML format

Using POST request in Postmat I received a body response as XML data like this. <?xml version='1.0' encoding='UTF-8'?> <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"> <S:Body> <ns2:getAuthenticationTokenResponse xmlns:ns2="http://some_url.com" xmlns:ns3="http://some_url.com"> <return>111222333</return> </ns2:getAuthenticationTokenResponse> </S:Body> </S:Envelope> And I need to get somehow value 111222333 as a collection variable.…

VIEW QUESTION
Back To Top
Search