Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
Operating Systems
»
Android
»
LAMW: how to send json on post request with jhttp_client
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
Forum Rules
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Can I get the position an...
by
CM630
[
Today
at 07:59:53 am]
HTTP2 Support
by
Amir61
[
Today
at 07:58:14 am]
How to compare floating p...
by
Khrys
[
Today
at 07:21:17 am]
Connecting to AzureSQL
by
Thaddy
[
Today
at 06:57:38 am]
FPGMAP accepts duplicates...
by
Thaddy
[
Today
at 06:37:46 am]
Lazarus and FreePascal on...
by
shayneoneill
[
Today
at 05:51:48 am]
Error: -macosx_version_mi...
by
shayneoneill
[
Today
at 05:49:02 am]
SYnEdit lose cursor
by
eldonfsr
[
Today
at 03:31:46 am]
FPC Unleashed (inline var...
by
flowCRANE
[
Today
at 02:05:38 am]
IDE: Property editor does...
by
Raskaton
[
Today
at 01:24:59 am]
Transparent form
by
mav
[
Today
at 12:30:19 am]
Scripts to generate ofici...
by
robert rozee
[May 12, 2026, 11:22:53 pm]
How to view the TODO list...
by
n7800
[May 12, 2026, 10:41:05 pm]
Hint tools gives wrong hi...
by
wp
[May 12, 2026, 10:29:45 pm]
Stack overflow detection
by
n7800
[May 12, 2026, 10:23:25 pm]
Qt does not position form...
by
systemgvp
[May 12, 2026, 09:56:34 pm]
Gtk3 widgetset - call for...
by
zeljko
[May 12, 2026, 09:44:13 pm]
Windows 10 x64 Kernel Dri...
by
PascalDragon
[May 12, 2026, 09:07:06 pm]
Feature announcement: Fun...
by
PascalDragon
[May 12, 2026, 08:57:47 pm]
How can I suppress except...
by
PascalDragon
[May 12, 2026, 08:34:40 pm]
TA Chart Axes visibility ...
by
wp
[May 12, 2026, 08:22:28 pm]
USB-C PD logger KM003C
by
DonAlfredo
[May 12, 2026, 07:42:44 pm]
TR-DOS Audio Suite
by
Gigatron
[May 12, 2026, 06:26:53 pm]
show me the parameters ce...
by
Nicole
[May 12, 2026, 05:42:40 pm]
TToolbutton: Dropdown men...
by
apeoperaio
[May 12, 2026, 03:11:30 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: LAMW: how to send json on post request with jhttp_client (Read 1597 times)
ujang
Newbie
Posts: 5
LAMW: how to send json on post request with jhttp_client
«
on:
May 09, 2024, 04:12:19 am »
LAMW: how to send json on post request with jhttp_client
i know there is
postjsondata
(url, json_text)
but postjsondata
not respect addclientheader
So how to send json data to post request and custom headers like useragent?
And any async funtion for this?
Logged
schumi
New Member
Posts: 46
Re: LAMW: how to send json on post request with jhttp_client
«
Reply #1 on:
May 10, 2024, 10:20:51 pm »
hi,
PostJSONData can send JSON, PostNameValueDataAsync can use header with AddNameValueData.
I have start to create "
PostRESTDataAsync
" function from PostSOAPDataAsync, but didn't finish it.
Logged
ujang
Newbie
Posts: 5
Re: LAMW: how to send json on post request with jhttp_client
«
Reply #2 on:
May 11, 2024, 05:51:02 am »
yes PostJSONData, can send json, but cannot modify headers
check on
https://httpbin.org/post
PostNameValueDataAsync, cannot send "json", just send "data"
httpbin.org, said json=null
Logged
ujang
Newbie
Posts: 5
Re: LAMW: how to send json on post request with jhttp_client
«
Reply #3 on:
May 11, 2024, 05:51:43 am »
Quote from: schumi on May 10, 2024, 10:20:51 pm
I have start to create "
PostRESTDataAsync
" function from PostSOAPDataAsync, but didn't finish it.
waiting...
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
Operating Systems
»
Android
»
LAMW: how to send json on post request with jhttp_client
TinyPortal
© 2005-2018