# CORS Clarification need help: Got CORS error when sending to Integrated Endpoint While Postman success

**URL:** <https://developer.community.nhs.uk/t/cors-clarification-need-help-got-cors-error-when-sending-to-integrated-endpoint-while-postman-success/981>\
**Category:** Personal Demographics Service (PDS)\
**Tags:** pds, fhir, spine\
**Created:** [7 June 2024 17:36 UTC](https://developer.community.nhs.uk/t/cors-clarification-need-help-got-cors-error-when-sending-to-integrated-endpoint-while-postman-success/981 "2024-06-07T17:36:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![namike623](https://avatars.discourse-cdn.com/v4/letter/n/a587f6/32.png) [@namike623](https://developer.community.nhs.uk/u/namike623)\
**Post date:** [7 June 2024 17:36 UTC](https://developer.community.nhs.uk/t/cors-clarification-need-help-got-cors-error-when-sending-to-integrated-endpoint-while-postman-success/981/1 "2024-06-07T17:36:58Z")

</div>

![image](https://europe1.discourse-cdn.com/nhsdigitaldeveloper/original/1X/4ad57d4cac664657a0aee96f9e4eeacd4c14373e.png)

however same request successfully in cURL version with same auth token

curl --location ‘[https://int.api.service.nhs.uk/personal-demographics/FHIR/R4/Patient?birthdate=eq1994-09-08&family=OHUPHONGWATTHANA](https://int.api.service.nhs.uk/personal-demographics/FHIR/R4/Patient?birthdate=eq1994-09-08&family=OHUPHONGWATTHANA)’   
–header ‘X-Request-Id: 5244d79c-0eb4-4f9b-9b4c-04c3047be744’   
–header ‘Content-Type: application/fhir+json’   
–header ‘Authorization: Bearer [token]’

Any suggestions or I am misunderstanding that PDS supposed not to be called from Browser directly?

---

<div class="post-metadata">

**Author:** ![david.hamill1](https://avatars.discourse-cdn.com/v4/letter/d/f475e1/32.png) [@david.hamill1](https://developer.community.nhs.uk/u/david.hamill1)\
**Post date:** [24 July 2024 11:19 UTC](https://developer.community.nhs.uk/t/cors-clarification-need-help-got-cors-error-when-sending-to-integrated-endpoint-while-postman-success/981/2 "2024-07-24T11:19:46Z")

</div>

Hi,

Correct. You should not be calling PDS FHIR directly from the browser.
