I
I
Igor Tkachenko2016-01-11 01:40:42
PHP
Igor Tkachenko, 2016-01-11 01:40:42

How to make a GET request with json array in cURL link?

There is a link like this:

http://site.ru/other/other/{"other":"111","name":"\u0412\u0430\u0441\u044f"}?other=(test 6.0; test test) test/&test=MW1yR21Yd==

If you insert it into the address bar, the result is the right one, but if you try to send a request via cURL, the output is 400 Bad Request
How can I send a GET request, tell me

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Burov, 2016-01-11
@BuriK666

urlencode

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question