Find Jobs
Hire Freelancers

Recreate External Web API using fetch requests

$10-30 USD

Closed
Posted almost 4 years ago

$10-30 USD

Paid on delivery
We are wanting to utilize a 3rd party web api. The task will be to recreate it using fetch calls. Attached is the code we have already written. The problem we are facing is that when calling the first fetch function incorrect customer data is returned. To mimic, simply go to the the root domain listed in the file, then open Chrome dev tools and call each of the fetch functions. The result should be items added to the shopping cart and reflected in the UI upon refreshing the page. Success equals navigating to the host domain and leveraging the fetch requests to add items to the cart automatically. This code will then be used in a custom web view in a React Native app. If successful, additional opportunities are available for similar tasks.
Project ID: 25638208

About the project

1 proposal
Remote project
Active 4 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
1 freelancer is bidding on average $30 USD for this job
User Avatar
I've found what the issue is and what to do about it, I can make a video and give you over chat, just send me a message I am working on this to find what exactly is the API returning for the customer flow, Please have a chat with me to follow up on progress. I am giving 2 days right now but I am trying to find reason right away. One of the weird things I found was why are you using request promise when you actually have node fetch that you are using for all the other requests, any reason? Also I hope you know request is now deprecated, request promise internally uses request You need a backend engineer for this requirement I have 3 years of experience in nodejs/javascript and I have VSCode setup to debug the entire flow.
$30 USD in 2 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
Los Angeles, United States
0.0
0
Member since May 18, 2020

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.