sankarvinop

Results comments of sankarvinop

As part of localization, we keep details of VAT Entry. For example, if Sales or purchase order got two lines with Type as Item. Once its invoiced, In standard ,...

We are using temporary only. Noted on Interface method. Thanks.

I have already tried. still getting error message. local procedure CheckHttpAPI() var Httpclient: HttpClient; httpRequest: HttpRequestMessage; httpResponse: HttpResponseMessage; HttpContent: HttpContent; HttpHeader: HttpHeaders; begin httpRequest.GetHeaders(HttpHeader); HttpHeader.Remove('Content-Type'); HttpHeader.Add('Content-Type', 'application/x-www-form-urlencoded'); end; Microsoft Dynamics...

I knew it will work if i added into content header. i also mentioned in my expected behavior. But i want to add this key in RequestHeader, because other system...

I cannot use Getheader from content and assign keys. the reasons is ,I have to use GET method to call API. Currently It wont support, if i add key 'Content-Type'...

This is the dot net code sample. to call API. `var client = new RestClient("https://apisandbox.iras.gov.sg/iras/sb/Authentication/SingPassAuth?scope=REPLACE_THIS_VALUE&callback_url=REPLACE_THIS_VALUE&state=REPLACE_THIS_VALUE"); var request = new RestRequest(Method.GET); request.AddHeader("Accept", "application/json"); request.AddHeader("Content-Type", "application/json"); request.AddHeader("x-ibm-client-secret", "REPLACE_THIS_KEY"); request.AddHeader("x-ibm-client-id", "REPLACE_THIS_KEY"); IRestResponse response...

Please find code implemented in using httpclient. and able connect successfully. TryAddWithoutValidation is missing in httpheader. `var header = httpClient.DefaultRequestHeaders; header.Add('accept',"application/json");//ACCEPT header **header.TryAddWithoutValidation("Content-Type", "application/json; charset=utf-8");** header.Add("x-ibm-client-id", singpassConfig.XIBMClientId); header.Add("x-ibm-client-secret", singpassConfig.XIBMClientSecret); HttpResponseMessage...

Hello Stanislaw Stempin,, Please let me know if you need any other information. Thanks

Logically a Get Request does not require a Content-Type header. Singpass (Singapore National Authentication System) enforces a validation of content-type and accept header for all type of requests. We have...