DEV Community

SUNNY KUMAR
SUNNY KUMAR

Posted on

can anyone help me with api

i was given someone else project and as i a still fresher it getting to complicated to decode his code
Can any one please help!

Top comments (3)

Collapse
 
dshaw0004 profile image
Dipankar Shaw

What is the problem

Collapse
 
sunny070 profile image
SUNNY KUMAR

i was given two APIs one for Auth User and other for posting,
the client side gave me some of the dummy data which was working but and also i got the result in jshon file i exactly dont know how am i gona use it my code so that the data could be displayed in their site

Thank you for reaching out more help will be appreciated

laravel #api

Collapse
 
dshaw0004 profile image
Dipankar Shaw

I didn't get a clear idea from this.
But I think that the auth api is a post api where you have to make a post request with users login or sign up data and it will response with user session id and other info.
This is my speculation.

If that is the case then
You have to create a login or signup form where send a request to this api onSubmit of the form.