B4J Question When to Use SetContentType or SetHeader("Content-Type", ...) - mcqueccu    Sep 25, 2019   (1 reaction) was successful whiles using setContentType to set the header
But when using GET request to check the status of the transaction
setContentType keeps giving me an error. Meanwhile setHeader("Content... SetContentType and when is it right to use setHeader
Endpoint: POST
https://api.xxxxxx.com/v1/receive
Header... with api key
ok.GetRequest.SetContentType("application/json") 'set the header... B4A Question HTTP SetContentType vs SetHeader("Content-Type", ... - JackKirk    Jun 28, 2017 I'm totally confused between these 2 - are there any hard and fast rules as to which to use when?... B4i Question Something like job.GetRequest.SetContentType("application/json") - schimanski    Jun 1, 2015 Is there something like
job.GetRequest.SetContentType("application/json")
is b4i?
Greetings...... B4J Question [Server] How to set content-type in the response for specific file types? - avalle (first post)    Mar 9, 2021   (1 reaction) 14:40:00 GMT
< Last-Modified: Mon, 15 Feb 2021 15:16:03 GMT
< Content-Type: application/pkix-crl
< Accept-Ranges: bytes
< Content-Length: 1014
< Server: Jetty(9.4.z-SNAPSHOT)... B4A Code Snippet Set HTTP Request Header with OkHttpUtils2 - Erel    Sep 17, 2018   (12 reactions)   tags: http after the current code execution completes. Note that you can set any number of headers. The content type header should be set with SetContentType. Tags: http headers, httputils2, user agent...Description: The following code allows you to set the request headers before the request is sent....SetHeader("User-Agent", "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:27.0) Gecko/20100101 Firefox/27.0") It is a bit confusing as it seems that the header is set after the request was sent... B4i Question B4i send JSON 'j.GetRequest.SetContentType("application/json") problem - Tomas Petrus (first post)    Aug 16, 2018 Thanks that helped : )... B4A Question SetContentType - marcel (first post)    Dec 15, 2015 Thanks! This is working!... B4A Question problems with HttpJob , PostString , SetContentType , send json - Erel (first post)    Jan 11, 2015 Cookies are maintained automatically. If the session is based on cookies then it should work automat... B4i Question SetContentType in httpUtils2 - jaraiza (first post)    Dec 10, 2014
job1.GetRequest.SetHeader("Content-Type", "application/soap+xml")
This did the trick, thanks Erel! :)... Other [new feature] b4xlib - a new type of library - Erel    Nov 2, 2020   (69 reactions)   tags: b4xlib;libraries, b4x library, Erel compiled. Starting with B4A (8.80), B4i (v5.50), B4J (v7.00) and B4R (v3.50), a new type of libraries is available - b4x libraries. A b4x library is a simple zip file with: - Code modules. All types... Page: 1   2   3   4   5   6   7   |