V
V
Vitaly2022-01-05 12:47:13
PHP
Vitaly, 2022-01-05 12:47:13

How to connect to API using curl?

Good afternoon.
Tell me how to connect to api using curl according to these conditions:

Access to the API is organized using the https protocol:
address: https://example/crm/ (preliminary)
On the client computer, the trusted root and intermediate certificates of the Thawte certification authority must be installed below).
root.crt
intermediate.crt

Unable to attach file to request body.
Do I need to merge certificates?

Can anyone help with an example query.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Stalker_RED, 2022-01-05
@Stalker_RED

Certificates do not need to be attached to the request, they are

must be set to trusted

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question