Welcome Guest, Not a member yet? Register   Sign In
CURL Request Class - urlencode
#1

(This post was last modified: 08-17-2024, 09:58 AM by 68thorby68.)

Hi,
I working with a 3rd Party API and need to configure the URL as per the 3rd party spec.
PHP Code:
$my_row $client->get('/THIRDPARTY/?filter__Company%20Name__equal=my%20company%20(sports%20department) 

However, CURL Request Class encodes the url to:
Code:
GET /THIRDPARTY/?filter__Company_Name__equal=my+company+%28sports+department%29
Is there a way to instruct the CURL Request Class not to encode the url? 
I can't see anything obvious in the documentation and the only setting I can find in Config->CURLRequest is
PHP Code:
public $shareOptions true
Any help is appreciated
Reply


Messages In This Thread
CURL Request Class - urlencode - by 68thorby68 - 08-17-2024, 09:58 AM
RE: CURL Request Class - urlencode - by kenjis - 08-17-2024, 06:58 PM



Theme © iAndrew 2016 - Forum software by © MyBB