Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8029371
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T00:25:10+00:00 2026-06-05T00:25:10+00:00

Trying to use the Request class to get an external resources, but can’t figure

  • 0

Trying to use the Request class to get an external resources, but can’t figure out how to set more default curl options.

I get the data like this:

$data = Request::factory($url)->execute()->body();

I figured adding CURL options was a simple matter of making a copy of system/config/curl.php into my application config folder and then setting the options there (I assume they will be merged?).

But those options don’t seem to be used at all? Tried to do a var_dump in Kohana_Request_Client_Curl after all the options should’ve been set, but I can only find the ones set directly there in that method, which makes sense as I can’t seem to find anywhere these options are actually fetched from the config file…

What am I doing wrong here?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T00:25:11+00:00Added an answer on June 5, 2026 at 12:25 am

    Here is more detailed example:

    $request = Request::factory($some_url);
    
    $request->client()->options(array(
        CURLOPT_SSL_VERIFYPEER => FALSE
    ));
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to use Android DownloadManager class this way: super.onCreate(savedInstanceState); setContentView(R.layout.main); Request r =
I'm trying to use a PHP Class in conjunction with javascript, but I need
I'm trying to write a custom tab with attributes, but I can not get
I'm trying to use Request.JSON in mooTools to bring in an object from a
I was trying use svn to find a checkin using svn log, but it
I was trying use a set of filter functions to run the appropriate routine,
Trying to use javax.imageio.spi.ServiceRegistry to dynamically register request processors for an HttpServlet : private
I'm trying to use Rohit Agarwal's BrowserSession class together with HtmlAgilityPack to login to
I am trying to use the following code, but it does not work when
So, I'm trying to use the UIPageViewController with a custom application workflow, but I'm

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.