Find Jobs
Hire Freelancers

Performance Problem Invoke REST-API

$15-25 USD / hour

Completed
Posted over 5 years ago

$15-25 USD / hour

I am invoking some REST services from codeigniter 3.x on this site [login to view URL] the request that I make using this code is very slow (10 seconds aprox) both front-end and back-end are in the same server, but the performance is very slow. /*********************Call-Api****************************/ public function callApi($url, $post_data=array()){ $str_data = json_encode($post_data); $ch = curl_init($url); curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "GET"); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_POSTFIELDS,$str_data); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); $headers[] = 'Accept: application/json'; $headers[] = 'Content-Type: application/json'; $headers[] = 'Content-length: 0'; curl_setopt($ch, CURLOPT_HTTPHEADER, $headers); $result = curl_exec($ch); curl_close($ch); // Seems like good practice return json_decode($result); } The API REST is here: [login to view URL] When I try this same request in POSTMAN the response time is very fast (attach image), could you help me that I am doing wrong please.
Project ID: 17521585

About the project

8 proposals
Remote project
Active 6 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Hi, My name is Xiong Jie Zhao, live in China. I am a newbie in this guru, but I have a lot of experiences with web development. I found your bug already. Let you know when you hire me. Regards
$16 USD in 1 day
4.9 (18 reviews)
4.7
4.7
8 freelancers are bidding on average $19 USD/hour for this job
User Avatar
Hey!! Greeting of the day!! I am ready to resolve the Performance Problem Invoke REST.I have checked your attached file also and i am ready to do this task for you. Skills:-Codeigniter, JSON, PHP, RESTful, Web Hosting I would like to do job, looking forward for positive response from your side. Sincerely,
$16 USD in 40 days
5.0 (38 reviews)
5.7
5.7
User Avatar
Dear client I have read your issues and I can solve your issue in the short time There maybe 3 problems for it 1/ Page rendering problem 2/ The parsing data after the apis work and get the response 3/ Other issues I have done so many works like it So you will get good result from me We can discuss more via chat Kind regards
$22 USD in 40 days
4.7 (40 reviews)
6.2
6.2
User Avatar
Hi, I have been doing Mobile & Web development for the past 11+ years, I have plenty of experience and a great eye for software development. I had completed all job perfectly on Freelancer.com. I am proud of my 100% Completion Rate!!!. I am able to offer competitive prices and deliver great work. I would like to work with you. I will provide the best product to you as you wanted. My Skills are : - Programming Languages - ASP.Net (webforms and MVC) / Entity Framework / Linq to SQL /Web Services (REST and SOAP)/ C++ / C# / PHP / Angular. - Mobile Programming * iOS/Objective-C/SWIFT * Xamarin ( MVVMCross for multi-platform) * Hybrid programming (Cordova, Ionic, Accelerator Titanium, React Native) * Android SDK/NDK * Qt Creator 5.4 (Cross platform) - Software Engineering / Architecture * Windows / Mac OS x / Linux Software * Image processing * E-Learning System - Web * Asp.net * Server management * Popular PHP framework * Bootstrap & * MySQL/SQLite I am an honest and hardworking person and having more that 4000 hours of experience as remote team member. I have very good internet connection with a backup connection. I am open to work in your timezone. Waiting for a positive response. Regards Mahesh Sharma
$22 USD in 40 days
5.0 (4 reviews)
4.4
4.4
User Avatar
I am working as a senior web developer for 5 years. Dont worry, you will never waste your time. I hope full star and credit, but dont want much money. I am sure we will complete our project successfully. Thanks
$15 USD in 40 days
5.0 (9 reviews)
3.7
3.7
User Avatar
Hi there, Greetings!! I have 6 years of experience of Graphic Design, Logo Design, Web Design & Web Development,App Development. I can develop websites in different platforms like WORDPRESS, WO-Commerce, E-Commerce, CMS, Advance CMS, Custom PHP, Drupal, Shopify, Jomla and Magento. I have strong commands on all tools and technologies like: Photoshop, Illustrator, Corel Draw, PHP/MYSQL, CODESIGNITER, CAKEPHP, WORDPRESS THEME, WORDPRESS PLUGING, JQUERY,JAVASCRIPT, BOOTSTRAP, HTML5, CSS3, AJAX, JSON, XML, REST apis, social networking apis, payment gateways apis etc. I am good with making analysis, documentation etc. I am good with html5/css3 with responsiveness as well. Expertise:  Graphic Design  Website Design  Website Banner  Email Signature Design  Email Template Design  Newsletter Design  Brochure Design  Flyer Design  Business Card Design  UX/UI Design  Dashboard Design  Payment Integration I completely read your job description and ready to work with you to prove myself that I can fulfill your requirement. I am available through Skype/gtalk around 8/10 hours per day. So I can provide 20-40 hours per week without any issue. And it would be easy to communicate with me, even for voice chat. I look forward to hearing from you. Thank you for your consideration. Thanks & Regards, DebrajChakraborty Please note: I can delivered you the first update within two business days. Also, I will give the best quality of work in reasonable price in
$15 USD in 40 days
5.0 (1 review)
1.4
1.4

About the client

Flag of MEXICO
MEXICO, Mexico
4.5
25
Payment method verified
Member since Jul 12, 2015

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.