--
You received this message because you are subscribed to the Google Groups "HAPI FHIR" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hapi-fhir+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hapi-fhir/CAOvQqUZ4PJLYZ7ktTEPVi11c%2BRdMjDrAnTiSiSR%2B2sM82_y2BQ%40mail.gmail.com.
I searched with above settings in post man, it worked fine. However, When I do React axios post with content type set to "application/x-www-form-urlencoded", Doesnt bind the variable. Am I missing something?Sample code, I tried:await axios.post<fhir.Bundle>('http://localhost:8080/pa/fhir/Patient/_search?'+partialMatchRequest,{identifier},{headers:{'content-type':'application/x-www-form-urlencoded'}})partialMatchRequest->has request params that is getting bound properly. (family=Joseph&gender=&deceased=false&given=&given=&birthdate=)
Regards,SamOn Tue, Jan 4, 2022 at 5:28 PM Samundiswaran P Velpandian <sam.esw...@gmail.com> wrote:I tired adding /_query to the URL instead of /_search, Request didn't reach the @Search method itself. However, I changed the content type to "application/x-www-form-urlencoded" this helped me receiving the parameters that I added in body. Thanks James, for your input.Regards,Sam