itzpradip / Food-Finder-React-Native-App

377 stars 275 forks source link

issue with axios in project #17

Open thewind11235 opened 2 years ago

thewind11235 commented 2 years ago

i cant use axios in your project. When i post with form data to api, it's not return value. Return from sv: echo json_encode($_POST);. I use post man test and use code of it. It's successful but when i put on project then it not return my value sent. image

my code image

and sv image

It returned: [] when i create new project and use my code, it run normal i think maybe your some lib but i dont know exactly

matagaralph commented 5 months ago

i cant use axios in your project. When i post with form data to api, it's not return value. Return from sv: echo json_encode($_POST);. I use post man test and use code of it. It's successful but when i put on project then it not return my value sent. image

my code image

and sv image

It returned: [] when i create new project and use my code, it run normal i think maybe your some lib but i dont know exactly

Use apisauce it's less complicated and works like charm.