I am trying to call a third party API from APEX application.
First, I try to create a web source module.
1. Create it from scratch.
2.web source type : simple HTTP
3.Name : Name the application.
4.URL endpoint: specify the URL
5.In the next step, the values are auto populated from previous step.So I click on Next.
6.then I click on discover.
It throws the following error:
Discovery error: Application Express cannot compute a data profile from the response data of type: text/html; charset=UTF-8.
I am trying to make POST call to an third party API.
I am not sure, where I am supposed to include the content type and request header in the web source component.
Tried including in the advace option provided next to Discover.
Didnt work.
Please help on this.