Answer the question
In order to leave comments, you need to log in
How to correctly implement the request?
In general, I have a php code, I need to place an order, that is, transfer a certain number of bytes to the site page, I don’t know how to implement this correctly, can anyone tell me?
POST https://ip:port/common_api/1.0/create_order HTTP/1.1
Signature: <...>
Content-Type: application/x-www-form-urlencoded
Content-Length: 156
phone=89123456789&source=SOURCE&source_time=20120501100000&dest=DEST&customer=CUSTOMER&
comment=COMMENT&crew_group_id=1&uds_id=1&tariff_id=3&is_prior=false&source_lon=53.147836&source_lat
=56.896817&dest_lon=53.226775&dest_lat=56.845452
Answer the question
In order to leave comments, you need to log in
Perhaps this question and answer will suit you: How to send an HTTP request using the POST method to a URL using PHP?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question